Marcin Kostrzewski
ad21010147
All checks were successful
s444409-evaluation/pipeline/head This commit looks good
29 lines
686 B
Plaintext
29 lines
686 B
Plaintext
pipeline {
|
|
agent {
|
|
docker {
|
|
image 's444409-create-dataset'
|
|
}
|
|
}
|
|
parameters {
|
|
file 'input_example.json'
|
|
buildSelector(
|
|
defaultSelector: lastSuccessful(),
|
|
description: 'Which build to use for copying artifacts',
|
|
name: 'BUILD_SELECTOR'
|
|
)
|
|
}
|
|
|
|
stages {
|
|
stage('Get dataset from artifact') {
|
|
steps {
|
|
copyArtifacts projectName: 's444356-training/master', selector: buildParameter('BUILD_SELECTOR')
|
|
}
|
|
}
|
|
stage('Predict values using model from artifact') {
|
|
steps {
|
|
sh "python predict_s444356.py"
|
|
}
|
|
}
|
|
}
|
|
}
|