New builds
This commit is contained in:
parent
641d8fc7fb
commit
e27df2fa97
|
|
@ -26,15 +26,15 @@ pipeline {
|
|||
steps {
|
||||
script {
|
||||
def config = readYaml file: 'builds.yaml'
|
||||
config.each { build ->
|
||||
stage("WIP") {
|
||||
config.builds.each { build ->
|
||||
stage("${build.name}") {
|
||||
agent {
|
||||
docker {
|
||||
image "${build.image}"
|
||||
}
|
||||
}
|
||||
config.stages.each { stage ->
|
||||
stage("WIP") {
|
||||
stage("${stage.name}") {
|
||||
catchError(buildResult: 'SUCCESS', stageResult: 'FAILURE') {
|
||||
sh "${stage.cmd}"
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,4 +1,5 @@
|
|||
- name: Chibi
|
||||
builds:
|
||||
- name: Chibi
|
||||
image: schemers/chibi:head
|
||||
stages:
|
||||
- name: Init
|
||||
|
|
|
|||
Loading…
Reference in New Issue