mirror of https://github.com/jenkinsci/jenkins.git
Use `withCredentials` for Launchable in `Jenkinsfile` (#7789)
This commit is contained in:
parent
545c3dfe33
commit
2e9c67c4c6
|
@ -134,8 +134,10 @@ for (i = 0; i < buildTypes.size(); i++) {
|
||||||
*/
|
*/
|
||||||
if (currentBuild.currentResult == 'SUCCESS') {
|
if (currentBuild.currentResult == 'SUCCESS') {
|
||||||
launchable.install()
|
launchable.install()
|
||||||
launchable('verify')
|
withCredentials([string(credentialsId: 'launchable-jenkins-bom', variable: 'LAUNCHABLE_TOKEN')]) {
|
||||||
launchable('record commit')
|
launchable('verify')
|
||||||
|
launchable('record commit')
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
def changelist = readFile(changelistF)
|
def changelist = readFile(changelistF)
|
||||||
|
|
Loading…
Reference in New Issue