tet123/jenkins-jobs/deploy-snapshots.yml
2020-10-06 09:23:57 +02:00

38 lines
1.3 KiB
YAML

# Job definition to build and deploy snapshot artifact
---
- job:
project-type: pipeline
name: debezium-deploy-snapshots
display-name: Debezium Deploy Snapshots
description: Deploy -SNAPSHOT versions to Maven Central
node: Slave
properties:
- build-discarder:
days-to-keep: 7
- github:
url: https://github.com/debezium/debezium
parameters:
- string:
name: DEBEZIUM_REPOSITORY
description: "Repository from which Debezium is built"
default: "github.com/debezium/debezium.git"
- string:
name: DEBEZIUM_BRANCH
description: "A branch from which Debezium is built"
default: "master"
- string:
name: DEBEZIUM_ADDITIONAL_REPOSITORIES
description: "A space separated list of additional repositories from which Debezium incubating components are built (id#repo#branch)"
default: "incubator#github.com/debezium/debezium-incubator.git#master vitess#github.com/debezium/debezium-connector-vitess#master"
dsl:
!include-raw:
- "scripts/deploy-snapshots.groovy"
wrappers:
- timeout:
timeout: 45
triggers:
- timed: "H 03 * * 1-5"
publishers:
- email:
recipients: jpechane@redhat.com