Skip to content

Commit

Permalink
ci(jenkins): add all build images job & correct path
Browse files Browse the repository at this point in the history
  • Loading branch information
Neeptossss committed Nov 25, 2023
1 parent d95911a commit 5be7d9e
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion jenkins/job_dsl.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,15 @@ languages.each { language ->
println "Creating job for language: " + language
freeStyleJob("Whanos base images/whanos-$language") {
steps {
shell("docker build $imagesDir/$language -t whanos-$language -f $imagesDir/$language/Dockerfile.base")
shell("docker build /whanos/images/$language -t whanos-$language -f /whanos/images/$language/Dockerfile.base")
}
}
}

freeStyleJob("Whanos base images/Build all base images") {
steps {
languages.each { language ->
shell("docker build /whanos/images/$language -t whanos-$language -f /whanos/images/$language/Dockerfile.base")
}
}
}
Expand Down

0 comments on commit 5be7d9e

Please sign in to comment.