tet123/jenkins-jobs/deploy-snapshots.yml

43 lines
1.3 KiB
YAML
Raw Normal View History

# 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_INCUBATOR_REPOSITORY
description: "Repository from which Debezium incubating components are built"
default: "github.com/debezium/debezium-incubator.git"
- string:
name: DEBEZIUM_INCUBATOR_BRANCH
description: "A branch from which Debezium incubating components are built"
default: "master"
dsl:
!include-raw:
- "scripts/deploy-snapshots.groovy"
wrappers:
- timeout:
timeout: 45
triggers:
- pollscm:
cron: "H 03 * * *"
publishers:
- email:
recipients: jpechane@redhat.com