ium_464962/evaluation/Jenkinsfile_eval

33 lines
909 B
Plaintext
Raw Normal View History

2024-05-05 23:12:50 +02:00
pipeline {
agent any
parameters {
buildSelector (
defaultSelector: lastSuccessful(),
description: 'Build for copying artifacts',
name: 'BUILD_SELECTOR'
)
}
stages {
stage('Git Checkout') {
steps {
checkout scm
}
}
stage('Copy Artifacts') {
steps {
2024-05-05 23:24:22 +02:00
copyArtifacts fingerprintArtifacts: true, projectName: 'z-s464962-create-dataset'
copyArtifacts filter: '*', projectName: 's464962-training
copyArtifacts filter: '*', projectName: 's464962-evaluation.eg', optional: true
2024-05-05 23:12:50 +02:00
}
}
stage('Predict') {
steps {
sh "chmod +x ./predict.py"
sh "python .predict.py"
archiveArtifacts artifacts: 'predicted_selling_prices.csv', onlyIfSuccessful: true
}
}
}
}