pipeline { agent any stages { stage('Get arifacts') { steps { copyArtifacts fingerprintArtifacts: true, projectName: 's444409-create-dataset', selector: lastSuccessful() } } stage('Show stats') { steps { sh "chmod u+x ./stats.sh" sh "./stats.sh" } } } }