Dodanie 'Jenkinsfile'
This commit is contained in:
parent
01f7eccb82
commit
904196fb1b
16
Jenkinsfile
vendored
Normal file
16
Jenkinsfile
vendored
Normal file
@ -0,0 +1,16 @@
|
|||||||
|
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
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user