pipeline { agent {dockerfile true} stages { stage('ASR-eval copy artifacts') { steps { copyArtifacts filter: '*', fingerprintArtifacts: true, projectName: 'ASR-eval', selector: lastSuccessful() //sh 'ls -lah' checkout([$class: 'GitSCM', branches: [[name: '*/master']], doGenerateSubmoduleConfigurations: false, extensions: [], submoduleCfg: [], userRemoteConfigs: [[credentialsId: '8cdbf19a-e62d-4807-9112-bc7a8d225074', url: 'https://git.wmi.amu.edu.pl/s441471/s441471-mlworkshops']]]) sh 'chmod 755 ./script.sh' sh './script.sh' //sh 'cat ' archiveArtifacts 'output.txt' } } } }