2019-09-23 09:39:36 +02:00
|
|
|
# Job definition to execute staging of Debezium product builds
|
|
|
|
---
|
|
|
|
- job:
|
|
|
|
project-type: pipeline
|
|
|
|
name: debezium-stage-prod
|
|
|
|
display-name: Debezium Stage Product Artifacts
|
|
|
|
description: Uploads product artifacts into stage location
|
|
|
|
node: Slave
|
|
|
|
properties:
|
|
|
|
- build-discarder:
|
|
|
|
num-to-keep: 5
|
|
|
|
parameters:
|
|
|
|
- string:
|
|
|
|
name: BUILD_VERSION
|
|
|
|
description: "Maven artifact id of the product binaries"
|
2020-06-02 10:18:46 +02:00
|
|
|
- string:
|
|
|
|
name: BUILD_VERSION_INCUBATOR
|
|
|
|
description: "Maven artifact id of the product binaries in incubator"
|
2019-09-23 09:39:36 +02:00
|
|
|
- string:
|
|
|
|
name: PRODUCT_VERSION
|
|
|
|
description: "Product version"
|
|
|
|
- string:
|
|
|
|
name: USERNAME
|
|
|
|
description: "Username to log to staging host"
|
|
|
|
- password:
|
|
|
|
name: PASSWORD
|
|
|
|
description: "Password to log to staging host"
|
|
|
|
default: "master"
|
|
|
|
- string:
|
|
|
|
name: CONNECTORS
|
|
|
|
description: "The list of released connectors"
|
|
|
|
default: "mysql postgres mongodb sqlserver"
|
2020-06-02 10:18:46 +02:00
|
|
|
- string:
|
|
|
|
name: CONNECTORS_INCUBATOR
|
|
|
|
description: "The list of released incubating connectors"
|
|
|
|
default: "db2"
|
2019-09-23 09:39:36 +02:00
|
|
|
- bool:
|
|
|
|
name: STAGE_FILES
|
|
|
|
description: "When checked the uploaded artifacts are staged"
|
|
|
|
default: "false"
|
|
|
|
- string:
|
|
|
|
name: SOURCE_MAVEN_REPO
|
|
|
|
description: "Maven repository URL with product artifacts"
|
|
|
|
default: "debezium-prod-repo"
|
|
|
|
- string:
|
|
|
|
name: TARGET_HOST
|
|
|
|
description: "Staging host"
|
|
|
|
type: secrettext
|
|
|
|
default: "debezium-staging-url"
|
|
|
|
- string:
|
|
|
|
name: ARTIFACT_DIR
|
|
|
|
description: "Staging directory"
|
|
|
|
default: "/mnt/rcm-guest/staging/amq"
|
|
|
|
dsl:
|
|
|
|
!include-raw:
|
|
|
|
- "scripts/prod-release-pipeline.groovy"
|