Update Jenkinsfile

This commit is contained in:
Alicja Szulecka 2024-04-14 13:03:36 +02:00
parent 821d0d7e9c
commit 9413b985c5

2
Jenkinsfile vendored
View File

@ -38,12 +38,14 @@ pipeline {
stage('Train and Predict') {
steps {
script {
def customImage = docker.build("custom-image")
customImage.inside {
sh 'python3 ./model.py'
sh 'python3 ./prediction.py'
archiveArtifacts artifacts: 'model.pth, predictions.txt', onlyIfSuccessful: true
}
}
}
}
}