Update Jenkinsfile

This commit is contained in:
Alicja Szulecka 2024-04-29 21:43:25 +02:00
parent 03f4d0b47a
commit 45beb68c25

2
Jenkinsfile vendored
View File

@ -24,7 +24,7 @@ pipeline {
script { script {
def customImage = docker.build("custom-image") def customImage = docker.build("custom-image")
customImage.inside { customImage.inside {
sh 'python3 ./model.py ${params.EPOCHS}' sh 'python3 ./model.py' + params.EPOCHS
archiveArtifacts artifacts: 'model.pth, predictions.txt', onlyIfSuccessful: true archiveArtifacts artifacts: 'model.pth, predictions.txt', onlyIfSuccessful: true
} }
} }