<commit_before>pipeline {
    agent {
        label 'Core'
    }

    stages {
        stage('CleanWorkspace') {
            steps {
                cleanWs()
            }
        }

        stage('Checkout') {
            steps {
                script {
                    if (ANS_GIT_REPOSITORY.isEmpty()) {
                        withCredentials([
                                string(credentialsId: "${ANS_GIT_SECRET}", variable: 'TMP_ANS_GIT_REPOSITORY')
                        ]){env.ANS_GIT_REPOSITORY = TMP_ANS_GIT_REPOSITORY}
                    }
                }
                checkout([
                        $class           : 'GitSCM',
                        branches         : [[name: "${ANS_GIT_BRANCH}"]],
                        userRemoteConfigs: [[url: "${ANS_GIT_REPOSITORY}",
                                             credentialsId: "${GITLAB_CREDENTIALS}"]],
                        extensions       : [[$class           : 'RelativeTargetDirectory',
                                             relativeTargetDir: 'ci-jenkins-node']],
                ])
            }
        }

        stage('Build image snapshot') {
            steps {
                withCredentials([
                        string(credentialsId: "${ANSIBLE_VAULT_PASSWORD}", variable: 'ANSIBLE_PASSWORD')
                ]) {
                    sh '''
                    set -x  
                    cd "${WORKSPACE}/ci-jenkins-node"
                    echo ${ANSIBLE_PASSWORD} > password.txt
                    ansible-vault decrypt --vault-password-file ./password.txt clouds.yaml
                    sudo cp roles/os_snapshot/files/CA-RH-NEW.crt /etc/pki/ca-trust/source/anchors/CA-RH-NEW.crt<commit_msg>DBZ-4516 Added double quotes when accessing variable<commit_after>pipeline {
    agent {
        label 'Core'
    }

    stages {
        stage('CleanWorkspace') {
            steps {
                cleanWs()
            }
        }

        stage('Checkout') {
            steps {
                script {
                    if (ANS_GIT_REPOSITORY.isEmpty()) {
                        withCredentials([
                                string(credentialsId: "${ANS_GIT_SECRET}", variable: 'TMP_ANS_GIT_REPOSITORY')
                        ]){env.ANS_GIT_REPOSITORY = TMP_ANS_GIT_REPOSITORY}
                    }
                }
                checkout([
                        $class           : 'GitSCM',
                        branches         : [[name: "${ANS_GIT_BRANCH}"]],
                        userRemoteConfigs: [[url: "${ANS_GIT_REPOSITORY}",
                                             credentialsId: "${GITLAB_CREDENTIALS}"]],
                        extensions       : [[$class           : 'RelativeTargetDirectory',
                                             relativeTargetDir: 'ci-jenkins-node']],
                ])
            }
        }

        stage('Build image snapshot') {
            steps {
                withCredentials([
                        string(credentialsId: "${ANSIBLE_VAULT_PASSWORD}", variable: 'ANSIBLE_PASSWORD')
                ]) {
                    sh '''
                    set -x  
                    cd "${WORKSPACE}/ci-jenkins-node"
                    echo "${ANSIBLE_PASSWORD}" > password.txt
                    ansible-vault decrypt --vault-password-file ./password.txt clouds.yaml
                    sudo cp roles/os_snapshot/files/CA-RH-NEW.crt /etc/pki/ca-trust/source/anchors/CA-RH-NEW.crt
{'fraction_non_alphanumeric': 0.10238026957269859, 'fraction_numerical': 0.0011471178663607685, 'mean_word_length': 1.0566037735849056, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 8, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2273249', 'n_tokens_mistral': 943, 'n_tokens_neox': 870, 'n_words': 129}