Skip to content

Commit

Permalink
ci: Lauńch subbuilds in case target is ALL
Browse files Browse the repository at this point in the history
params.GLUON_TARGET
  • Loading branch information
AiyionPrime committed Jun 29, 2024
1 parent 42f83af commit a346358
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -37,5 +37,23 @@ pipeline {
}
}
}
stage('Trigger target builds') {
when {
expression {
return params.GLUON_TARGET == 'ALL'
}
}
steps {
dir('gluon') {
script {
def targets_string = sh(script: 'make list-targets', returnStdout: true)
def targets = targets_string.tokenize(' ')
targets.each { target_name ->
sh "echo launching ${target_name}"
}
}
}
}
}
}
}

0 comments on commit a346358

Please sign in to comment.