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 @@ -35,7 +35,7 @@ node('rhel8'){
3535 stage(' Snapshot' ) {
3636 def filesToPush = findFiles(glob : ' **/*.vsix' )
3737 def extensionJson = readJSON file : ' vss-extension.json'
38- sh " sftp -C ${ UPLOAD_LOCATION} /snapshots/openshift-vsts/openshift-vsts- ${ extensionJson.version } - ${ env.BUILD_NUMBER } .vsix <<< \$ 'put -p \" ${ filesToPush[0].path} \" '"
38+ sh " sftp -C ${ UPLOAD_LOCATION} /snapshots/openshift-vsts/ <<< \$ 'put -p \" ${ filesToPush[0].path} \" '"
3939 }
4040 }
4141
@@ -54,7 +54,7 @@ node('rhel8'){
5454 stage " Promote the build to stable"
5555 def vsix = findFiles(glob : ' **/*.vsix' )
5656 def extensionJson = readJSON file : ' vss-extension.json'
57- sh " sftp -C ${ UPLOAD_LOCATION} /stable/openshift-vsts/openshift-vsts- ${ extensionJson.version } - ${ env.BUILD_NUMBER } .vsix <<< \$ 'put -p \" ${ vsix[0].path} \" '"
57+ sh " sftp -C ${ UPLOAD_LOCATION} /stable/openshift-vsts/ <<< \$ 'put -p \" ${ vsix[0].path} \" '"
5858 }
5959 }
6060}
You can’t perform that action at this time.
0 commit comments