<commit_before>dir("packages/adminrouter/extra/src") {
    stage('Prepare devkit container') {
        sh 'make update-devkit'
    }

    try {
        stage('make check-api-docs') {
            sh 'make check-api-docs'
        }

        stage('make flake8') {
            sh 'make flake8'
        }

        stage('make test') {
            sh 'make test'
        }

    } finally {
        stage('Cleanup docker container'){
            sh 'make clean-containers'
            sh "docker rmi -f adminrouter-devkit || true"
        }
    }
}<commit_msg>Admin Router: store AR build logs<commit_after>dir("packages/adminrouter/extra/src") {
    stage('Prepare devkit container') {
        sh 'make update-devkit'
    }

    try {
        stage('make check-api-docs') {
            sh 'make check-api-docs'
        }

        stage('make flake8') {
            sh 'make flake8'
        }

        stage('make test') {
            sh 'make test'
        }

    } finally {
        stage('archive build logs') {
             archiveArtifacts artifacts: 'test-harness/logs/*.log', allowEmptyArchive: true, excludes: 'test_harness/', fingerprint: true
        }

        stage('Cleanup docker container'){
            sh 'make clean-containers'
            sh "docker rmi -f adminrouter-devkit || true"
        }
    }
}
{'fraction_non_alphanumeric': 0.12167300380228137, 'fraction_numerical': 0.003041825095057034, 'mean_word_length': 1.680244399185336, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '1523637', 'n_tokens_mistral': 401, 'n_tokens_neox': 382, 'n_words': 89}