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