Zaktualizuj 'Jenkins_train'

This commit is contained in:
Witold Woch 2023-05-12 22:02:26 +02:00
parent 4fe8564d44
commit 29a316e7c7

View File

@ -15,7 +15,7 @@ pipeline {
script { script {
def dockerImage = docker.image('s487194/ium:test2') def dockerImage = docker.image('s487194/ium:test2')
dockerImage.inside { dockerImage.inside {
sh "python train1.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
} }
} }