pipeline { agent { dockerfile { additionalBuildArgs "--build-arg KAGGLE_USERNAME=${params.KAGGLE_USERNAME} --build-arg KAGGLE_KEY=${params.KAGGLE_KEY} --build-arg CUTOFF=${params.CUTOFF} -t maciejczajka" } } stages { stage('Script') { steps { copyArtifacts filter: '*', projectName: 's444409-training/master', selector: lastSuccessful() sh "python predict.py" } } } }