Update evaluation/Jenkinsfile_eval
This commit is contained in:
parent
52e0cbcf51
commit
0ad8b95e2d
@ -1,7 +1,7 @@
|
||||
pipeline {
|
||||
agent any
|
||||
parameters {
|
||||
buildSelector (
|
||||
buildSelector(
|
||||
defaultSelector: lastSuccessful(),
|
||||
description: 'Build for copying artifacts',
|
||||
name: 'BUILD_SELECTOR'
|
||||
@ -16,18 +16,16 @@ pipeline {
|
||||
stage('Copy Artifacts') {
|
||||
steps {
|
||||
copyArtifacts fingerprintArtifacts: true, projectName: 'z-s464962-create-dataset'
|
||||
copyArtifacts filter: '*', projectName: 's464962-training
|
||||
copyArtifacts filter: '*', projectName: 's464962-training'
|
||||
copyArtifacts filter: '*', projectName: 's464962-evaluation.eg', optional: true
|
||||
}
|
||||
}
|
||||
stage('Predict') {
|
||||
steps {
|
||||
sh "chmod +x ./predict.py"
|
||||
sh "python .predict.py"
|
||||
sh "python ./predict.py"
|
||||
archiveArtifacts artifacts: 'predicted_selling_prices.csv', onlyIfSuccessful: true
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user