only sad reactions
Some checks failed
s434695-training/pipeline/head There was a failure building this commit
Some checks failed
s434695-training/pipeline/head There was a failure building this commit
This commit is contained in:
parent
93516ec2ef
commit
d30489e817
19
Jenkinsfile
vendored
19
Jenkinsfile
vendored
@ -27,17 +27,16 @@ pipeline {
|
||||
copyArtifacts(fingerprintArtifacts: true, projectName: 's434695-create-dataset', selector: buildParameter('WHICH_BUILD'))
|
||||
}
|
||||
}
|
||||
stage('docker-training') {
|
||||
steps {
|
||||
script {
|
||||
def img = docker.build('shroomy/ium2:2')
|
||||
img.inside {
|
||||
sh "python3 train.py ${EPOCHS} ${BATCH_SIZE}"
|
||||
|
||||
}
|
||||
}
|
||||
stage('train')
|
||||
{
|
||||
steps
|
||||
{
|
||||
withDockerContainer('shroomy/ium2:2') {
|
||||
sh 'python3 train.py ${BATCH_SIZE} ${EPOCHS}'
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
stage('Archive artifacts') {
|
||||
steps{
|
||||
|
Loading…
Reference in New Issue
Block a user