2023-05-10 11:40:30 +02:00
|
|
|
node {
|
|
|
|
checkout scm
|
2023-05-10 11:52:14 +02:00
|
|
|
docker.image('ubuntu:latest').inside {
|
2023-05-10 11:40:30 +02:00
|
|
|
stage('Copy data') {
|
|
|
|
copyArtifacts filter: 'Car_Prices_Poland_Kaggle.csv', fingerprintArtifacts: true, projectName: 's452662-create-dataset', selector: lastSuccessful()
|
|
|
|
}
|
|
|
|
stage('Run') {
|
2023-05-10 11:48:27 +02:00
|
|
|
sh 'python3 sacred.py'
|
2023-05-10 11:40:30 +02:00
|
|
|
}
|
|
|
|
stage('Save model into artifact') {
|
|
|
|
archiveArtifacts artifacts: 'model.h5', followSymlinks: false
|
|
|
|
}
|
2023-05-10 11:52:14 +02:00
|
|
|
|
2023-05-10 11:40:30 +02:00
|
|
|
|
|
|
|
}
|