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,9 +134,11 @@ for (i = 0; i < buildTypes.size(); i++) {
|
|||
*/
|
||||
if (currentBuild.currentResult == 'SUCCESS') {
|
||||
launchable.install()
|
||||
withCredentials([string(credentialsId: 'launchable-jenkins-bom', variable: 'LAUNCHABLE_TOKEN')]) {
|
||||
launchable('verify')
|
||||
launchable('record commit')
|
||||
}
|
||||
}
|
||||
|
||||
def changelist = readFile(changelistF)
|
||||
dir(m2repo) {
|
||||
|
|
Loading…
Reference in New Issue