File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -65,11 +65,11 @@ node('rhel8'){
6565 if (params. UPLOAD_LOCATION ) {
6666 stage(' Snapshot' ) {
6767 def filesToPush = findFiles(glob : ' **.vsix' )
68- sh " rsync -Pzrlt --rsh=ssh --protocol=28 ${ filesToPush[0].path} ${ UPLOAD_LOCATION } /snapshots/vscode-quarkus/ "
68+ sh " sftp -C ${ UPLOAD_LOCATION } /snapshots/vscode-quarkus/ <<< \$ 'put -p ${ filesToPush[0].path} ' "
6969 stash name :' vsix' , includes :filesToPush[0 ]. path
7070 def tgzFilesToPush = findFiles(glob : ' **.tgz' )
7171 stash name :' tgz' , includes :tgzFilesToPush[0 ]. path
72- sh " rsync -Pzrlt --rsh=ssh --protocol=28 ${ tgzFilesToPush[0].path} ${ UPLOAD_LOCATION } /snapshots/vscode-quarkus/ "
72+ sh " sftp -C ${ UPLOAD_LOCATION } /snapshots/vscode-quarkus/ <<< \$ 'put -p ${ tgzFilesToPush[0].path} ' "
7373 }
7474 }
7575
@@ -96,9 +96,9 @@ node('rhel8'){
9696 archiveArtifacts artifacts :" **.vsix,**.tgz"
9797
9898 stage " Promote the build to stable"
99- sh " rsync -Pzrlt --rsh=ssh --protocol=28 ${ vsix[0].path} ${ UPLOAD_LOCATION } /stable/vscode-quarkus/ "
99+ sh " sftp -C ${ UPLOAD_LOCATION } /stable/vscode-quarkus/ <<< \$ 'put -p ${ vsix[0].path} ' "
100100 def tgz = findFiles(glob : ' **.tgz' )
101- sh " rsync -Pzrlt --rsh=ssh --protocol=28 ${ tgz[0].path} ${ UPLOAD_LOCATION } /stable/vscode-quarkus/ "
101+ sh " sftp -C ${ UPLOAD_LOCATION } /stable/vscode-quarkus/ <<< \$ 'put -p ${ tgz[0].path} ' "
102102 }
103103 }
104104}
You can’t perform that action at this time.
0 commit comments