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

42 lines
2.2 KiB
Groovy

pipelineJob('ocp-system-test') {
displayName('System Tests inside OCP')
description('Runs System Tests inside OCP')
parameters {
stringParam('MAIL_TO', 'jcechace@redhat.com')
booleanParam('PRODUCT_BUILD', false, 'Is this a productised build?')
stringParam('DBZ_GIT_REPOSITORY', 'https://github.com/debezium/debezium.git', 'Repository from which Debezium sources are cloned')
stringParam('DBZ_GIT_BRANCH', 'main', 'A branch/tag of Debezium sources')
stringParam('PULL_SECRET', 'rh-integration-quay-secret', 'Quay.io OpenShift secret')
stringParam('DOCKER_TAG', 'latest', 'Docker image tag')
stringParam('OCP_CREDENTIALS', 'openshift-dbz-creds', 'Jenkins credentials id')
stringParam('OCP_URL', '', 'Ocp url')
booleanParam('TEST_APICURIO_REGISTRY', false, 'Run tests with Apicurio Registry and Avro serialization')
booleanParam('STRIMZI_KC_BUILD', false, 'True -> use artifact server, false -> dbz connect image')
stringParam('DBZ_CONNECT_IMAGE', '', 'Debezium connect image')
stringParam('ARTIFACT_SERVER_IMAGE', '', 'Artifact server image')
stringParam('APICURIO_VERSION', '2.2.3.Final', 'Apicurio version')
stringParam('KAFKA_VERSION', '', 'Kafka version')
stringParam('STRZ_GIT_REPOSITORY', 'https://github.com/strimzi/strimzi-kafka-operator.git', 'Repository from which Strimzi is cloned')
stringParam('STRZ_GIT_BRANCH', 'main', 'A branch/tag from which Strimzi is built')
stringParam('STRIMZI_PREPARE_BUILD_NUMBER', '', 'Product build - Build from which strimzi operator zip is used. Default lastSuccessful')
stringParam('APIC_GIT_REPOSITORY', 'https://github.com/Apicurio/apicurio-registry-operator.git', 'Repository from which Apicurio is cloned')
stringParam('APIC_GIT_BRANCH', 'master', 'A branch/tag from which Apicurio is built')
stringParam('APICURIO_PREPARE_BUILD_NUMBER', '', 'Product build - Build from which apicurio operator zip is used. Default lastSuccessful')
}
definition {
cps {
script(readFileFromWorkspace('jenkins-jobs/pipelines/ocp_system_pipeline.groovy'))
sandbox()
}
}
}