File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -27,7 +27,7 @@ node('rhel7'){
2727 if (params. UPLOAD_LOCATION ) {
2828 stage(' Upload' ) {
2929 def filesToPush = findFiles(glob : ' **/*.zip' )
30- sh " rsync -Pzrlt --rsh=ssh --protocol=28 ${ filesToPush[0].path} ${ UPLOAD_LOCATION } /snapshots/intellij-dependency-analytics/ "
30+ sh " sftp -C ${ UPLOAD_LOCATION } /snapshots/intellij-dependency-analytics/ <<< \$ 'put -p \" ${ filesToPush[0].path} \" ' "
3131 stash name :' zip' , includes :filesToPush[0 ]. path
3232 }
3333 }
@@ -49,7 +49,7 @@ node('rhel7'){
4949 if (! isSnapshot) {
5050 stage(" Promote the build to stable" ) {
5151 def zip = findFiles(glob : ' **/*.zip' )
52- sh " rsync -Pzrlt --rsh=ssh --protocol=28 ${ zip[0].path} ${ UPLOAD_LOCATION } /stable/intellij-dependency-analytics/ "
52+ sh " sftp -C ${ UPLOAD_LOCATION } /snapshots/intellij-dependency-analytics/ <<< \$ 'put -p \" ${ zip[0].path} \" ' "
5353 currentBuild. keepLog = true
5454 currentBuild. description = " ${ version} "
5555 }
You can’t perform that action at this time.
0 commit comments