2023-05-10 11:40:30 +02:00
|
|
|
node {
|
2023-05-10 12:11:22 +02:00
|
|
|
agent {
|
|
|
|
dockerfile true
|
|
|
|
}
|
2023-05-10 11:40:30 +02:00
|
|
|
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 12:00:23 +02:00
|
|
|
sh 'apt-get install python'
|
2023-05-10 11:55:24 +02:00
|
|
|
sh 'python 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
|
|
|
|
2023-05-10 11:54:35 +02:00
|
|
|
}
|
2023-05-10 11:40:30 +02:00
|
|
|
}
|