Browse Source

Use Jenkinsfile from git instead of static file.

Change-Id: I37b2e2f77810a8f84e6c57c2a0e19d957da9b64a
changes/71/673571/4
Alexander Noskov 2 years ago
parent
commit
142dd1e491
3 changed files with 18 additions and 9 deletions
  1. +6
    -3
      tools/gate/aiab/seed.groovy
  2. +6
    -3
      tools/gate/airsloop/seed.groovy
  3. +6
    -3
      tools/gate/seaworthy/seed.groovy

+ 6
- 3
tools/gate/aiab/seed.groovy 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)
}
}
}
}


+ 6
- 3
tools/gate/airsloop/seed.groovy 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)
}
}
}
}


+ 6
- 3
tools/gate/seaworthy/seed.groovy 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)
}
}
}
}


Loading…
Cancel
Save