pipeline { agent { dockerfile true } stages { stage('Build') { steps { checkout([$class: 'GitSCM', branches: [[name: '*/master']], doGenerateSubmoduleConfigurations: false, extensions: [], submoduleCfg: [], userRemoteConfigs: [[credentialsId: '8dbda16d-2863-4ee8-8662-3886a4862575', url: 'https://git.wmi.amu.edu.pl/dawjur/dawjur-mlworkshops']]]) copyArtifacts filter: 'wikiniews_results.tsv', fingerprintArtifacts: true, projectName: 'ASR-eval', selector: lastSuccessful() copyArtifacts excludes: 'wikinews_results.tsv', fingerprintArtifacts: true, projectName: 'dawjur-metrics', selector: lastSuccessful() } } stage('Count lines') { steps { sh label: '', script: './count_lines.sh wikiniews_results.tsv > line_count.txt' archiveArtifacts 'line_count.txt' } } stage('Calc metrics') { steps { sh label: '', script: './calc_metrics.sh' archiveArtifacts 'wer.txt' archiveArtifacts 'srr.txt' archiveArtifacts 'wikinews_results.tsv' } } } }