Zaktualizuj 'Jenkins_train'
This commit is contained in:
parent
6432505689
commit
c2920e5efb
@ -13,7 +13,7 @@ pipeline {
|
|||||||
stage('Docker and Training'){
|
stage('Docker and Training'){
|
||||||
steps {
|
steps {
|
||||||
script {
|
script {
|
||||||
def dockerImage = docker.image('s487194/ium:lab5_5')
|
def dockerImage = docker.image('s487194/ium:lab5_6')
|
||||||
dockerImage.inside {
|
dockerImage.inside {
|
||||||
sh "python train.py -epochs ${params.EPOCHS} -lr ${params.LR}"
|
sh "python train.py -epochs ${params.EPOCHS} -lr ${params.LR}"
|
||||||
archiveArtifacts artifacts: 'classificationn_model.pt', onlyIfSuccessful: true
|
archiveArtifacts artifacts: 'classificationn_model.pt', onlyIfSuccessful: true
|
||||||
|
Loading…
Reference in New Issue
Block a user