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