ium_452662/Jenkinsfile

16 lines
486 B
Plaintext
Raw Normal View History

2023-05-10 11:40:30 +02:00
node {
checkout scm
def testImage = docker.build("test-image")
testImage.inside {
stage('Copy data') {
copyArtifacts filter: 'Car_Prices_Poland_Kaggle.csv', fingerprintArtifacts: true, projectName: 's452662-create-dataset', selector: lastSuccessful()
}
stage('Run') {
sh 'jupyter nbconvert --execute train.ipynb'
}
stage('Save model into artifact') {
archiveArtifacts artifacts: 'model.h5', followSymlinks: false
}
}
}