2022-05-11 18:19:02 +02:00
|
|
|
pipeline {
|
|
|
|
agent {
|
|
|
|
docker {
|
|
|
|
image 's444409-create-dataset'
|
|
|
|
}
|
|
|
|
}
|
2022-05-11 20:19:44 +02:00
|
|
|
parameters {
|
|
|
|
file 'input_example.json'
|
|
|
|
}
|
2022-05-11 18:19:02 +02:00
|
|
|
|
|
|
|
stages {
|
|
|
|
stage('Get dataset from artifact') {
|
|
|
|
steps {
|
|
|
|
copyArtifacts projectName: 's444356-training/master', selector: lastSuccessful()
|
|
|
|
}
|
|
|
|
}
|
|
|
|
stage('Predict values using model from artifact') {
|
|
|
|
steps {
|
|
|
|
sh "python predict_s444356.py"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|