Merge "Use Jenkinsfile from git instead of static file."

This commit is contained in:
Zuul 2019-08-21 22:54:34 +00:00 committed by Gerrit Code Review
commit 2a61af8e2a
3 changed files with 18 additions and 9 deletions

View File

@ -43,9 +43,12 @@ pipelineJob("treasuremap-aiab") {
}
definition {
cps {
script(readFileFromWorkspace("${JOB_BASE}/Jenkinsfile"))
sandbox(false)
cpsScm {
scm {
git('https://review.opendev.org/airship/treasuremap')
scriptPath('tools/gate/aiab/Jenkinsfile')
lightweight(true)
}
}
}
}

View File

@ -80,9 +80,12 @@ pipelineJob('airsloop') {
}
definition {
cps {
script(readFileFromWorkspace("tools/gate/airsloop/Jenkinsfile"))
sandbox(false)
cpsScm {
scm {
git('https://review.opendev.org/airship/treasuremap')
scriptPath('tools/gate/airsloop/Jenkinsfile')
lightweight(true)
}
}
}
}

View File

@ -33,9 +33,12 @@ pipelineJob('Seaworthy') {
}
definition {
cps {
script(readFileFromWorkspace("tools/gate/seaworthy/Jenkinsfile"))
sandbox(false)
cpsScm {
scm {
git('https://review.opendev.org/airship/treasuremap')
scriptPath('tools/gate/seaworthy/Jenkinsfile')
lightweight(true)
}
}
}
}