pipeline { agent any stages { stage('Stage 1') { steps { checkout([$class: 'GitSCM', branches: [[name: '*/master']], doGenerateSubmoduleConfigurations: false, extensions: [], submoduleCfg: [], userRemoteConfigs: [[url: 'https://git.wmi.amu.edu.pl/s396302/s396302-mlworkshops']]]) } } stage('Artefacts') { steps { copyArtifacts filter: 'wikiniews_results.tsv', fingerprintArtifacts: true, projectName: 'ASR-eval', selector: lastSuccessful() } } stage('Count lines') { steps { sh label: '', script: './count_lines.sh wikiniews_results.tsv > line_count.txt' archiveArtifacts 'line_count.txt' } } } }