Use Jenkinsfile from git instead of static file.

Change-Id: I37b2e2f77810a8f84e6c57c2a0e19d957da9b64a
This commit is contained in:
Alexander Noskov
2019-07-27 17:13:33 -05:00
parent 7f6a63909b
commit 142dd1e491
3 changed files with 18 additions and 9 deletions

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)
}
}
}
}