Skip to content

Commit

Permalink
Use sftp to upload vsix
Browse files Browse the repository at this point in the history
Signed-off-by: Yevhen Vydolob <yvydolob@redhat.com>
  • Loading branch information
evidolob committed Apr 26, 2022
1 parent 7d024eb commit caeb246
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ node('rhel8'){

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

Expand Down

0 comments on commit caeb246

Please sign in to comment.