New builds
This commit is contained in:
parent
1007f6437f
commit
9bbb623347
|
|
@ -32,11 +32,11 @@ pipeline {
|
||||||
}
|
}
|
||||||
steps {
|
steps {
|
||||||
script {
|
script {
|
||||||
def config = readYAML file: 'builds.yaml'
|
files = findFiles(glob: 'makings/*.mks')
|
||||||
config.stages.each { item ->
|
files.each { file ->
|
||||||
stage("${item.name}") {
|
stage("${file}") {
|
||||||
catchError(buildResult: 'SUCCESS', stageResult: 'FAILURE') {
|
catchError(buildResult: 'SUCCESS', stageResult: 'FAILURE') {
|
||||||
sh "${item.cmd}"
|
sh "ls"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue