ium_z487175/Jenkinsfile-evaluation

27 lines
741 B
Plaintext
Raw Normal View History

2023-06-08 08:12:42 +02:00
pipeline{
agent any
stages{
stage('Copy model artifacts with test dataset') {
steps {
copyArtifacts(
projectName: 'z-s487175-training',
2023-06-08 08:42:56 +02:00
fingerprintArtifacts: true
2023-06-08 08:12:42 +02:00
)
}
}
stage('Train model'){
steps{
sh "docker run -v ${env.WORKSPACE}/dane:/app ium python3 /app/DL-prediction.py"
}
}
stage('Archive prediction results'){
steps{
sh "docker cp \$(docker ps -l -q):/app/results_prediction.csv ${env.WORKSPACE}"
archiveArtifacts artifacts: 'results_prediction.csv', fingerprint: true
}
}
}
}