<commit_before>pipelineJob('ocp-debezium-openshift-test') {
    displayName('Debezium OpenShift TestSuite')
    description('Executes tests for OpenShift & Strimzi compatibility verification')

    properties {
        githubProjectUrl('https://github.com/debezium/debezium')
    }

    parameters {
        booleanParam('PRODUCT_BUILD', false, 'Is this a productised build?')
//        OCP CONFIG
        stringParam('OCP_URL', "", "OpenShift admin API url")
        stringParam('OCP_CREDENTIALS', "openshift-dbz-creds", "Jenkins credentials id")
//        QUAY CONFIG
        stringParam('QUAY_CREDENTIALS', 'debezium-quay-creds', "Quay.io credentials id")
//        PULL SECRET
        stringParam('PULL_SECRET', 'rh-integration-quay-secret', "Quay.io OpenShift secret")
//        DEBEZIUM CONFIG
        stringParam('DBZ_GIT_REPOSITORY', 'https://github.com/debezium/debezium.git', 'Repository from which Debezium sources are cloned')
        stringParam('DBZ_GIT_BRANCH', 'master', 'A branch/tag of Debezium sources')
        stringParam('DBZ_CONNECT_IMAGE', "", "Kafka Connect Image with DBZ plugins.")
//        STRIMZI CONFIG
        stringParam('STRZ_GIT_REPOSITORY', 'https://github.com/strimzi/strimzi-kafka-operator.git', 'Repository from which Strimzi is cloned')
        stringParam('STRZ_GIT_BRANCH', 'master', 'A branch/tag from which Debezium is built')
        stringParam('STRZ_RESOURCES_ARCHIVE_URL', "", "URL to productised strimzi sources")
//        TEST CONFIG
        stringParam('TEST_WAIT_SCALE', "1", "Wait time scaling factor")
        stringParam('TEST_VERSION_KAFKA', "", "Kafka version")
        booleanParam('TEST_APICURIO_REGISTRY', false, 'Run tests with Apicurio Registry and Avro serialization')
    }

    definition {
        cps {
            script(readFileFromWorkspace('jenkins-jobs/pipelines/openshift_pipeline.groovy'))
            sandbox()
        }
    }
}
<commit_msg>DBZ-3404 Build strimzi from branch main<commit_after>pipelineJob('ocp-debezium-openshift-test') {
    displayName('Debezium OpenShift TestSuite')
    description('Executes tests for OpenShift & Strimzi compatibility verification')

    properties {
        githubProjectUrl('https://github.com/debezium/debezium')
    }

    parameters {
        booleanParam('PRODUCT_BUILD', false, 'Is this a productised build?')
//        OCP CONFIG
        stringParam('OCP_URL', "", "OpenShift admin API url")
        stringParam('OCP_CREDENTIALS', "openshift-dbz-creds", "Jenkins credentials id")
//        QUAY CONFIG
        stringParam('QUAY_CREDENTIALS', 'debezium-quay-creds', "Quay.io credentials id")
//        PULL SECRET
        stringParam('PULL_SECRET', 'rh-integration-quay-secret', "Quay.io OpenShift secret")
//        DEBEZIUM CONFIG
        stringParam('DBZ_GIT_REPOSITORY', 'https://github.com/debezium/debezium.git', 'Repository from which Debezium sources are cloned')
        stringParam('DBZ_GIT_BRANCH', 'master', 'A branch/tag of Debezium sources')
        stringParam('DBZ_CONNECT_IMAGE', "", "Kafka Connect Image with DBZ plugins.")
//        STRIMZI CONFIG
        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 Debezium is built')
        stringParam('STRZ_RESOURCES_ARCHIVE_URL', "", "URL to productised strimzi sources")
//        TEST CONFIG
        stringParam('TEST_WAIT_SCALE', "1", "Wait time scaling factor")
        stringParam('TEST_VERSION_KAFKA', "", "Kafka version")
        booleanParam('TEST_APICURIO_REGISTRY', false, 'Run tests with Apicurio Registry and Avro serialization')
    }

    definition {
        cps {
            script(readFileFromWorkspace('jenkins-jobs/pipelines/openshift_pipeline.groovy'))
            sandbox()
        }
    }
}

{'fraction_non_alphanumeric': 0.11845515811301192, 'fraction_numerical': 0.0015552099533437014, 'mean_word_length': 3.450980392156863, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 6, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5273022', 'n_tokens_mistral': 1224, 'n_tokens_neox': 1207, 'n_words': 249}