New builds

This commit is contained in:
retropikzel 2026-07-22 16:40:52 +03:00
parent 4815bb4d9a
commit b44225a6ba
1 changed files with 3 additions and 3 deletions

6
Jenkinsfile vendored
View File

@ -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}"