ium_444356/Jenkinsfile_predict
Maciej Czajka 5e9ae0997a
Some checks reported errors
s444356-evaluation/pipeline/head This commit looks good
s444356-training/pipeline/head Something is wrong with the build of this commit
update predict.py, jenkinsfile_predict
2022-05-11 19:33:00 +02:00

24 lines
485 B
Plaintext

pipeline {
agent {
docker {
image 'maciejczajka'
}
}
parameters {
string(
defaultValue: 'input_example.json',
description: 'Input file name',
name: 'INPUT',
trim: false
)
}
stages {
stage('Script') {
steps {
copyArtifacts projectName: 's444409-training/main', selector: lastSuccessful()
sh "python predict.py $INPUT"
}
}
}
}