ium_444356/Jenkinsfile_predict
Maciej Czajka e7cb37ad58
All checks were successful
s444356-evaluation/pipeline/head This commit looks good
s444356-training/pipeline/head This commit looks good
update predict.py, jenkinsfile_predict
2022-05-11 20:05:49 +02:00

24 lines
488 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 'python3 ./predict.py $INPUT'
}
}
}
}