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 @@ -22,7 +22,7 @@ node ('Docker') {
22
22
println ' Failed to find string "Dyalog MiServer 3.0 Sample Site" cleaning up.'
23
23
sh " docker logs ${ MiServer.id} "
24
24
sh " git rev-parse --short HEAD > .git/commit-id"
25
- withCredentials([usernamePassword (credentialsId : ' 7ac3a2c6-484c-4879-ac85-2b0db71a7e58' , passwordVariable : ' GHTOKEN' , usernameVariable : ' API ' )]) {
25
+ withCredentials([string (credentialsId : ' 7ac3a2c6-484c-4879-ac85-2b0db71a7e58' , variable : ' GHTOKEN' )]) {
26
26
commit_id = readFile(' .git/commit-id' )
27
27
sh " ./githubComment.sh ${ MiServer.id} ${ commit_id} "
28
28
}
@@ -65,7 +65,7 @@ node ('Docker') {
65
65
}
66
66
67
67
stage (' Github Upload' ) {
68
- withCredentials([usernamePassword (credentialsId : ' 7ac3a2c6-484c-4879-ac85-2b0db71a7e58' , passwordVariable : ' GHTOKEN' , usernameVariable : ' API ' )]) {
68
+ withCredentials([string (credentialsId : ' 7ac3a2c6-484c-4879-ac85-2b0db71a7e58' , variable : ' GHTOKEN' )]) {
69
69
sh ' ./GH-Release.sh'
70
70
}
71
71
You can’t perform that action at this time.
0 commit comments