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:
6
Jenkinsfile
vendored
6
Jenkinsfile
vendored
@@ -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'
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user