Update Jenkinsfile
This commit is contained in:
parent
03f4d0b47a
commit
45beb68c25
2
Jenkinsfile
vendored
2
Jenkinsfile
vendored
@ -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
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user