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 words') { sh 'chmod +x ./service.sh' sh './service.sh wikiniews_results.tsv' } stage('Archive artifacts') { steps { archiveArtifacts: 'lines_count.txt', fingerprint: true } } } }