<commit_before>def call() {
    node('master') {
        deleteDir()
        unstash 'rpms'
        unstash 'gitCommit'
        withCredentials([sshUserPrivateKey(credentialsId: 'repo.ci.percona.com', keyFileVariable: 'KEY_PATH', usernameVariable: 'USER')]) {
            sh """
                export path_to_build="UPLOAD/pmm/${JOB_NAME}/\$(cat shortCommit)-${BUILD_NUMBER}"

                ssh -o StrictHostKeyChecking=no -i ${KEY_PATH} ${<EMAIL> \
                    mkdir -p \${path_to_build}/source/redhat \
                             \${path_to_build}/binary/redhat/7/x86_64

                scp -o StrictHostKeyChecking=no -i ${KEY_PATH} \
                    `find result-repo -name '*.src.rpm'` \
                    ${<EMAIL>:\${path_to_build}/source/redhat/

                scp -o StrictHostKeyChecking=no -i ${KEY_PATH} \
                    `find result-repo -name '*.noarch.rpm' -o -name '*.x86_64.rpm'` \
                    ${<EMAIL>:\${path_to_build}/binary/redhat/7/x86_64/
            """
        }
        deleteDir()
    }
}<commit_msg>add el6 rpms support<commit_after>def call() {
    node('master') {
        deleteDir()
        unstash 'rpms'
        unstash 'gitCommit'
        withCredentials([sshUserPrivateKey(credentialsId: 'repo.ci.percona.com', keyFileVariable: 'KEY_PATH', usernameVariable: 'USER')]) {
            sh """
                export path_to_build="UPLOAD/pmm/${JOB_NAME}/\$(cat shortCommit)-${BUILD_NUMBER}"

                ssh -o StrictHostKeyChecking=no -i ${KEY_PATH} ${<EMAIL> \
                    mkdir -p \${path_to_build}/source/redhat \
                             \${path_to_build}/binary/redhat/6/x86_64 \
                             \${path_to_build}/binary/redhat/7/x86_64

                if [ `find result-repo results -name '*.src.rpm' | wc -l` -gt 0 ]; then
                    scp -o StrictHostKeyChecking=no -i ${KEY_PATH} \
                        `find result-repo results -name '*.src.rpm'` \
                        ${<EMAIL>:\${path_to_build}/source/redhat/
                fi

                if [ `find result-repo results -name '*.el6.noarch.rpm' -o -name '*.el6.x86_64.rpm' | wc -l` -gt 0 ]; then
                    scp -o StrictHostKeyChecking=no -i ${KEY_PATH} \
                        `find result-repo results -name '*.el6.noarch.rpm' -o -name '*.el6.x86_64.rpm'` \
                        ${<EMAIL>:\${path_to_build}/binary/redhat/6/x86_64/
                fi

                if [ `find result-repo results -name '*.el7.noarch.rpm' -o -name '*.el7.x86_64.rpm' | wc -l` -gt 0 ]; then
                    scp -o StrictHostKeyChecking=no -i ${KEY_PATH} \
                        `find result-repo results -name '*.el7.noarch.rpm' -o -name '*.el7.x86_64.rpm'` \
                        ${<EMAIL>:\${path_to_build}/binary/redhat/7/x86_64/
                fi
            """
        }
        deleteDir()
    }
}
{'fraction_non_alphanumeric': 0.14986187845303867, 'fraction_numerical': 0.021408839779005526, 'mean_word_length': 1.5524229074889868, 'pattern_counts': {'":': 0, '<': 10, '<?xml version=': 0, '>': 10, 'https://': 0, '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': '475022', 'n_tokens_mistral': 1019, 'n_tokens_neox': 949, 'n_words': 166}