pipeline { agent { dockerfile true } stages { stage('Checkout') { steps { checkout([$class: 'GitSCM', branches: [[name: '*/master']], doGenerateSubmoduleConfigurations: false, extensions: [], submoduleCfg: [], userRemoteConfigs: [[ url: 'https://git.wmi.amu.edu.pl/s452111/s452111-mlworkshops']]]) } } stage('Copy Artifacts') { steps { copyArtifacts filter: 'wikiniews_results.tsv', fingerprintArtifacts: true, projectName: 'ASR-eval', selector: lastSuccessful() } } stage('Count the metrics') { steps { sh 'chmod +x ./service.sh' sh './service.sh' sh 'chmod +x ./metrics_service.sh' sh './metrics_service.sh' } } stage('Archive artifacts') { steps { archiveArtifacts 'lines_count.txt' archiveArtifacts 'wikinews_results.tsv' archiveArtifacts 'wer.txt' archiveArtifacts 'srr.txt' } } } }