update jenkinsfile_predict
All checks were successful
s444356-evaluation/pipeline/head This commit looks good
s444356-training/pipeline/head This commit looks good

This commit is contained in:
Maciej Czajka 2022-05-11 18:56:36 +02:00
parent b77f49af83
commit a4a85d4e41

View File

@ -1,7 +1,7 @@
pipeline { pipeline {
agent { agent {
dockerfile { docker {
additionalBuildArgs "--build-arg KAGGLE_USERNAME=${params.KAGGLE_USERNAME} --build-arg KAGGLE_KEY=${params.KAGGLE_KEY} --build-arg CUTOFF=${params.CUTOFF} -t maciejczajka" image 'maciejczajka'
} }
} }
@ -9,6 +9,7 @@ pipeline {
stage('Script') { stage('Script') {
steps { steps {
copyArtifacts filter: '*', projectName: 's444409-training/main', selector: lastSuccessful() copyArtifacts filter: '*', projectName: 's444409-training/main', selector: lastSuccessful()
sh 'ls -al'
sh "python predict.py" sh "python predict.py"
} }
} }