Testing dynamic Jenkinsfile
This commit is contained in:
parent
15980724d4
commit
29b166eca8
|
|
@ -1,3 +1,4 @@
|
|||
def implementations = ['chibi']
|
||||
def tests = ['primitives']
|
||||
|
||||
pipeline {
|
||||
|
|
@ -14,11 +15,13 @@ pipeline {
|
|||
}
|
||||
|
||||
stages {
|
||||
stage('chibi') {
|
||||
stage('Testing') {
|
||||
steps {
|
||||
script {
|
||||
for (int i = 0; i < tests.size(); ++i) {
|
||||
echo "Testing the ${test[i]}"
|
||||
implementations.each { implementations ->
|
||||
stage("Testing to ${implementation}") {
|
||||
echo "Testing"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue