New builds
This commit is contained in:
parent
acd1a25e91
commit
4815bb4d9a
|
|
@ -27,14 +27,14 @@ pipeline {
|
||||||
script {
|
script {
|
||||||
def builds = readYaml file: 'buildconfig.yaml'
|
def builds = readYaml file: 'buildconfig.yaml'
|
||||||
builds.each { build ->
|
builds.each { build ->
|
||||||
stage("${build.name}") {
|
stage("WIP") {
|
||||||
agent {
|
agent {
|
||||||
docker {
|
docker {
|
||||||
image "${build.image}"
|
image "${build.image}"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
build.stages.each { stage ->
|
build.stages.each { stage ->
|
||||||
stage("${stage.name}") {
|
stage("WIP") {
|
||||||
catchError(buildResult: 'SUCCESS', stageResult: 'FAILURE') {
|
catchError(buildResult: 'SUCCESS', stageResult: 'FAILURE') {
|
||||||
sh "${stage.cmd}"
|
sh "${stage.cmd}"
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue