Testing dynamic Jenkinsfile

This commit is contained in:
retropikzel 2025-06-05 22:37:27 +03:00
parent 15980724d4
commit 29b166eca8
1 changed files with 8 additions and 5 deletions

9
Jenkinsfile vendored
View File

@ -1,3 +1,4 @@
def implementations = ['chibi']
def tests = ['primitives'] def tests = ['primitives']
pipeline { pipeline {
@ -14,11 +15,13 @@ pipeline {
} }
stages { stages {
stage('chibi') { stage('Testing') {
steps { steps {
script { script {
for (int i = 0; i < tests.size(); ++i) { implementations.each { implementations ->
echo "Testing the ${test[i]}" stage("Testing to ${implementation}") {
echo "Testing"
}
} }
} }
} }