tet123/jenkins-jobs/job-dsl/ocp_system_test_image_prepare.groovy

26 lines
888 B
Groovy
Raw Normal View History

pipelineJob('ocp-debezium-testing-system-image-prepare') {
displayName('Debezium TestSuite Image Prepare')
description('Creates a testsuite docker image and uploads it to quay')
properties {
githubProjectUrl('https://github.com/debezium/debezium')
}
logRotator {
numToKeep(10)
}
parameters {
stringParam('DBZ_GIT_REPOSITORY', 'https://github.com/debezium/debezium.git', 'Repository from which Debezium sources are cloned into docker image')
stringParam('DBZ_GIT_BRANCH', 'main', 'A branch/tag of Debezium sources')
stringParam('TAG', 'latest', 'Docker image tag')
stringParam('QUAY_CREDENTIALS', 'rh-integration-quay-creds', 'Quay.io credentials id')
}
definition {
cps {
script(readFileFromWorkspace('jenkins-jobs/pipelines/system_test_image_pipeline.groovy'))
}
}
}