Skip to content

Commit 46fea85

Browse files
committed
remove credentials for now
1 parent 66ed8b1 commit 46fea85

File tree

1 file changed

+9
-5
lines changed

1 file changed

+9
-5
lines changed

Jenkinsfile

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,9 @@ node('rhel7'){
6262
}
6363

6464
node('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

0 commit comments

Comments
 (0)