playing around with stage/script tags
This commit is contained in:
parent
64bf567834
commit
8f86d83732
@ -22,21 +22,16 @@ pipeline {
|
|||||||
}
|
}
|
||||||
|
|
||||||
stages {
|
stages {
|
||||||
stage ('Initalize Jenkins') {
|
|
||||||
steps {
|
steps {
|
||||||
script {
|
script {
|
||||||
|
stage ('Initalize Jenkins') {
|
||||||
workspace = pwd()
|
workspace = pwd()
|
||||||
ubiOS = ["8"]
|
ubiOS = ["8"]
|
||||||
ubiImages = ["ubi-minimal", "ubi"]
|
ubiImages = ["ubi-minimal", "ubi"]
|
||||||
|
|
||||||
writeFile(file: workspace + "/test-chamber-13.lan.root.crt", text: functions.getLocalRootCA())
|
writeFile(file: workspace + "/test-chamber-13.lan.root.crt", text: functions.getLocalRootCA())
|
||||||
}
|
}
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
stage ('Build Images') {
|
|
||||||
steps {
|
|
||||||
script {
|
|
||||||
for (rhOS in ubiOS) {
|
for (rhOS in ubiOS) {
|
||||||
for (image in ubiImages) {
|
for (image in ubiImages) {
|
||||||
stage ("Build ubi${rhOS}:${image}") {
|
stage ("Build ubi${rhOS}:${image}") {
|
||||||
@ -80,4 +75,3 @@ RUN update-ca-trust extract && \\
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
Reference in New Issue
Block a user