pipeline { agent { docker { image 'agakul/ium:mlflow'} } parameters { buildSelector( defaultSelector: lastSuccessful(), description: 'Which build to use for copying artifacts', name: 'BUILD_SELECTOR' ) } stages { stage('Copy artifacts') { steps { copyArtifacts fingerprintArtifacts: true, projectName: 's444501-training/master', selector: buildParameter('BUILD_SELECTOR') } } } }