Skip to content

Commit caeb246

Browse files
committed
Use sftp to upload vsix
Signed-off-by: Yevhen Vydolob <[email protected]>
1 parent 7d024eb commit caeb246

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Jenkinsfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ node('rhel8'){
3737

3838
stage 'Upload vscode-yaml to staging'
3939
def vsix = findFiles(glob: '**.vsix')
40-
sh "rsync -Pzrlt --rsh=ssh --protocol=29 ${vsix[0].path} ${UPLOAD_LOCATION}/snapshots/vscode-yaml/"
40+
sh "sftp -C ${UPLOAD_LOCATION}/snapshots/vscode-yaml/ <<< \$'put -p \"${vsix[0].path}\"'"
4141
stash name:'vsix', includes:vsix[0].path
4242
}
4343

0 commit comments

Comments
 (0)