30 lines
864 B
Groovy
30 lines
864 B
Groovy
pipelineJob('release-deploy-debezium-tool-images') {
|
|
displayName('Debezium Deploy Tool Images')
|
|
description('Build and deploy debezium tool images to the registry')
|
|
|
|
properties {
|
|
githubProjectUrl('https://github.com/debezium/docker-images')
|
|
}
|
|
|
|
logRotator {
|
|
daysToKeep(7)
|
|
}
|
|
|
|
triggers {
|
|
cron('0 0 * * 1')
|
|
}
|
|
|
|
parameters {
|
|
stringParam('MAIL_TO', 'jpechane@redhat.com')
|
|
stringParam('IMAGES_REPOSITORY', 'github.com/debezium/docker-images.git', 'Repository with Debezium Dockerfiles')
|
|
stringParam('IMAGES_BRANCH', 'main', 'Branch used for images repository')
|
|
stringParam('TAG', 'latest', 'Tag used for building images')
|
|
}
|
|
|
|
definition {
|
|
cps {
|
|
script(readFileFromWorkspace('jenkins-jobs/pipelines/build-debezium-tool-images.groovy'))
|
|
}
|
|
}
|
|
}
|