2022-10-18 14:53:03 +02:00
|
|
|
pipelineJob('release-deploy_snapshots_pipeline') {
|
2020-10-13 01:12:30 +02:00
|
|
|
displayName('Debezium Deploy Snapshots')
|
|
|
|
description('Deploy -SNAPSHOT versions to Maven Central')
|
|
|
|
|
|
|
|
properties {
|
|
|
|
githubProjectUrl('https://github.com/debezium/debezium')
|
|
|
|
}
|
|
|
|
|
|
|
|
logRotator {
|
|
|
|
daysToKeep(7)
|
2022-01-03 14:23:24 +01:00
|
|
|
numToKeep(10)
|
2020-10-13 01:12:30 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
triggers {
|
2020-11-23 12:06:40 +01:00
|
|
|
cron('0 */6 * * *')
|
2020-10-13 01:12:30 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
parameters {
|
|
|
|
|
2021-10-05 07:20:45 +02:00
|
|
|
stringParam('MAIL_TO', 'jpechane@redhat.com')
|
2020-10-13 01:12:30 +02:00
|
|
|
stringParam('DEBEZIUM_REPOSITORY', 'github.com/debezium/debezium.git', 'Repository from which Debezium is built')
|
2021-10-27 14:16:10 +02:00
|
|
|
stringParam('DEBEZIUM_BRANCH', 'main', 'A branch from which Debezium is built')
|
2020-10-13 01:12:30 +02:00
|
|
|
stringParam(
|
|
|
|
'DEBEZIUM_ADDITIONAL_REPOSITORIES',
|
2023-03-30 11:44:02 +02:00
|
|
|
'db2#github.com/debezium/debezium-connector-db2.git#main vitess#github.com/debezium/debezium-connector-vitess.git#main cassandra#github.com/debezium/debezium-connector-cassandra.git#main spanner#github.com/debezium/debezium-connector-spanner.git#main jdbc#github.com/debezium/debezium-connector-jdbc.git#main',
|
2021-03-03 09:54:20 +01:00
|
|
|
'A space separated list of additional repositories from which Debezium connectors are built (id#repo#branch)'
|
2020-10-13 01:12:30 +02:00
|
|
|
)
|
|
|
|
}
|
|
|
|
|
|
|
|
definition {
|
|
|
|
cps {
|
2022-10-18 14:53:03 +02:00
|
|
|
script(readFileFromWorkspace('jenkins-jobs/pipelines/deploy_snapshots_pipeline.groovy'))
|
2020-10-13 01:12:30 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|