File tree Expand file tree Collapse file tree 1 file changed +9
-2
lines changed
Expand file tree Collapse file tree 1 file changed +9
-2
lines changed Original file line number Diff line number Diff line change @@ -45,11 +45,18 @@ node('rhel8'){
4545 input message :' Approve deployment?' , submitter : ' jpinkney'
4646 }
4747
48- stage " Publish to Marketplace "
48+ stage " Publish to Marketplaces "
4949 unstash ' vsix' ;
50+ def vsix = findFiles(glob : ' **.vsix' )
51+ // VS Code Marketplace
5052 withCredentials([[$class : ' StringBinding' , credentialsId : ' vscode_java_marketplace' , variable : ' TOKEN' ]]) {
51- def vsix = findFiles(glob : ' **.vsix' )
5253 sh ' vsce publish -p ${TOKEN} --packagePath' + " ${ vsix[0].path} "
5354 }
55+
56+ // Open-vsx Marketplace
57+ sh " npm install -g ovsx"
58+ withCredentials([[$class : ' StringBinding' , credentialsId : ' open-vsx-access-token' , variable : ' OVSX_TOKEN' ]]) {
59+ sh ' ovsx publish -p ${OVSX_TOKEN}' + " ${ vsix[0].path} "
60+ }
5461 archive includes :" **.vsix"
5562}
You can’t perform that action at this time.
0 commit comments