Zaktualizuj 'Jenkins_train'

This commit is contained in:
Witold Woch 2023-05-12 22:14:12 +02:00
parent 29a316e7c7
commit 30b5d249bc

View File

@ -13,7 +13,7 @@ pipeline {
stage('Docker and Training'){ stage('Docker and Training'){
steps { steps {
script { script {
def dockerImage = docker.image('s487194/ium:test2') def dockerImage = docker.image('s487194/ium:lab5_3')
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