Zaktualizuj 'Jenkins_train'

This commit is contained in:
Witold Woch 2023-05-12 21:55:13 +02:00
parent ebeb2047e3
commit 4fe8564d44

View File

@ -13,9 +13,9 @@ pipeline {
stage('Docker and Training'){ stage('Docker and Training'){
steps { steps {
script { script {
def dockerImage = docker.image('s487194/ium:test1') def dockerImage = docker.image('s487194/ium:test2')
dockerImage.inside { dockerImage.inside {
sh "python train.py -epochs ${params.EPOCHS} -lr ${params.LR}" sh "python train1.py -epochs ${params.EPOCHS} -lr ${params.LR}"
archiveArtifacts artifacts: 'classificationn_model.pt', onlyIfSuccessful: true archiveArtifacts artifacts: 'classificationn_model.pt', onlyIfSuccessful: true
} }
} }