pipeline { agent any 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 './script.sh' } } } }