Make building of container conditional.

Only changes to the CI's Dockerfile or java-tools.properties should trigger the building of a new container.
This commit is contained in:
Greg L. Turnquist
2023-04-14 11:08:23 -05:00
parent 6c1a8356ef
commit 9a5b8c20e1

6
Jenkinsfile vendored
View File

@@ -15,6 +15,12 @@ pipeline {
stages {
stage('Build the Spring Data release tools container') {
when {
anyOf {
changeset 'ci/Dockerfile'
changeset 'ci/java-tools.properties'
}
}
agent {
label 'data'
}