ium_430705/Jenkinsfile_predict
michalzareba 284aeb7c47
Some checks reported errors
s430705-evaluation/pipeline/head This commit looks good
s430705-training/pipeline/head Something is wrong with the build of this commit
Add prediction from other student
2021-05-23 14:27:38 +02:00

24 lines
597 B
Plaintext

pipeline {
agent {dockerfile true}
parameters {
buildSelector(
defaultSelector: lastSuccessful(),
description: 'Which build to use for copying artifacts',
name: 'BUILD_SELECTOR')
}
stages {
stage('copyArtifacts') {
steps {
copyArtifacts fingerprintArtifacts: true, projectName: 's434804-training/master', selector: buildParameter('BUILD_SELECTOR')
}
}
stage('Predict example value'){
steps {
sh 'ls -l'
sh 'python3 "./lab_09_predict.py"'
}
}
}
}