ci: rebuild infra container images after merge

When the `ci/centos` branch has been merged, the container images that
are built from it may need to be rebuilt. Instead of conditionally
rebuilding images only on a change, just rebuild them always, as there
are very few changes in the CI branch anyway.

Signed-off-by: Niels de Vos <ndevos@redhat.com>
This commit is contained in:
Niels de Vos 2021-05-17 11:35:45 +02:00 committed by mergify[bot]
parent 06409fcbd6
commit a75430ce21

View File

@ -20,6 +20,14 @@
artifact-days-to-keep: 7
dsl: |
node {
stage('build-images') {
parallel jjb: {
sh "oc start-build --follow jjb"
},
mirror_images: {
sh 'oc start-build --follow mirror-images'
}
}
stage('checkout ci repository') {
git url: "${GIT_REPO}", branch: "${GIT_BRANCH}", changelog: false
}