File tree Expand file tree Collapse file tree 1 file changed +8
-3
lines changed
Expand file tree Collapse file tree 1 file changed +8
-3
lines changed Original file line number Diff line number Diff line change @@ -72,7 +72,6 @@ node('rhel8'){
7272 def filesToPush = findFiles(glob : ' **.vsix*' )
7373 for (int i = 0 ; i < filesToPush. size(); i++ ) {
7474 echo " Uploading ${ filesToPush[i].path} "
75- sh " scp --help"
7675 sh " sftp -C ${ UPLOAD_LOCATION} /snapshots/vscode-openshift-tools/ <<< \$ 'put -p \" ${ filesToPush[i].path} \" '"
7776 }
7877 }
@@ -93,8 +92,14 @@ node('rhel8'){
9392 }
9493
9594 stage " Promote the build to stable"
96- sh " rsync -Pzrlt --rsh=ssh --protocol=28 *.vsix* ${ UPLOAD_LOCATION} /stable/vscode-openshift-tools/"
97- sh " rsync -Pzrlt --rsh=ssh --protocol=28 *.tgz* ${ UPLOAD_LOCATION} /stable/vscode-openshift-tools/"
95+ script {
96+ def filesToPush = findFiles(glob : ' **.vsix*' )
97+ for (int i = 0 ; i < filesToPush. size(); i++ ) {
98+ echo " Uploading ${ filesToPush[i].path} "
99+ sh " sftp -C ${ UPLOAD_LOCATION} /stable/vscode-openshift-tools/ <<< \$ 'put -p \" ${ filesToPush[i].path} \" '"
100+ }
101+ }
102+
98103 archive includes :" **.vsix*,**.tgz*"
99104 }
100105 }
You can’t perform that action at this time.
0 commit comments