Zaktualizuj 'Jenkinsfile'

This commit is contained in:
Michał Dudziak 2023-05-10 11:52:14 +02:00
parent b33c66be30
commit 082d5d2be1

5
Jenkinsfile vendored
View File

@ -1,7 +1,6 @@
node { node {
checkout scm checkout scm
def testImage = docker.build("test-image") docker.image('ubuntu:latest').inside {
testImage.inside {
stage('Copy data') { stage('Copy data') {
copyArtifacts filter: 'Car_Prices_Poland_Kaggle.csv', fingerprintArtifacts: true, projectName: 's452662-create-dataset', selector: lastSuccessful() copyArtifacts filter: 'Car_Prices_Poland_Kaggle.csv', fingerprintArtifacts: true, projectName: 's452662-create-dataset', selector: lastSuccessful()
} }
@ -11,6 +10,6 @@ node {
stage('Save model into artifact') { stage('Save model into artifact') {
archiveArtifacts artifacts: 'model.h5', followSymlinks: false archiveArtifacts artifacts: 'model.h5', followSymlinks: false
} }
}
} }