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/s437843/s437843-mlworkshops']]]) } } stage('Stage 2') { steps { copyArtifacts filter: 'wikiniews_results.tsv', fingerprintArtifacts: true, projectName: 'ASR-eval', selector: lastSuccessful() } } stage('Stage 3') { steps { sh label: '',chmod +x script.sh, script: './script.sh wikiniews_results.tsv' } } stage('Stage 4') { steps { archiveArtifacts 'results.txt' } } } }