sadge2
This commit is contained in:
parent
251926f864
commit
9884244768
@ -1,6 +1,6 @@
|
|||||||
pipeline {
|
pipeline {
|
||||||
agent {
|
agent {
|
||||||
dockerfile true
|
any;
|
||||||
}
|
}
|
||||||
parameters{
|
parameters{
|
||||||
buildSelector(
|
buildSelector(
|
||||||
@ -26,11 +26,17 @@ pipeline {
|
|||||||
copyArtifacts fingerprintArtifacts: true, projectName: 's434695-create-dataset', selector: buildParameter('WHICH_BUILD')
|
copyArtifacts fingerprintArtifacts: true, projectName: 's434695-create-dataset', selector: buildParameter('WHICH_BUILD')
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
stage('Docker'){
|
stage('docker-training') {
|
||||||
steps {
|
steps {
|
||||||
sh 'python3 "./train.py"'
|
script {
|
||||||
sh 'python3 "./sacred1.py"'
|
def img = docker.build('shroomy/ium:5')
|
||||||
sh 'python3 "./sacred2.py"'
|
img.inside {
|
||||||
|
sh "python3 train.py"
|
||||||
|
sh "python3 sacred1.py"
|
||||||
|
sh "python3 sacred2.py"
|
||||||
|
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
stage('archiveArtifacts') {
|
stage('archiveArtifacts') {
|
||||||
|
Loading…
Reference in New Issue
Block a user