File tree Expand file tree Collapse file tree 1 file changed +9
-5
lines changed
Expand file tree Collapse file tree 1 file changed +9
-5
lines changed Original file line number Diff line number Diff line change @@ -62,7 +62,9 @@ node('rhel7'){
6262}
6363
6464node(' rhel7' ){
65-
65+ echo " env: ${ env.publishToMarketPlace} "
66+ echo " plain: ${ publishToMarketPlace} "
67+ echo " params: ${ params.publishToMarketPlace} "
6668 if (publishToMarketPlace){
6769 timeout(time :5 , unit :' DAYS' ) {
6870 input message :' Approve deployment?' , submitter : ' bercan'
@@ -92,10 +94,12 @@ node('rhel7'){
9294 sh " npm test --silent"
9395 }
9496
95- " Publish to Marketplace"
96- withCredentials([[$class : ' StringBinding' , credentialsId : ' vscode_marketplace' , variable : ' TOKEN' ]]) {
97- sh " vsce publish -p $TOKEN "
98- }
97+ stage " Publish to Marketplace"
98+ sh " vsce package"
99+ archive includes :" **.vsix"
100+ // withCredentials([[$class: 'StringBinding', credentialsId: 'vscode_marketplace', variable: 'TOKEN']]) {
101+ // sh "vsce publish -p $TOKEN"
102+ // }
99103 }// if publishMarketPlace
100104}
101105
You can’t perform that action at this time.
0 commit comments