18 lines
407 B
Plaintext
18 lines
407 B
Plaintext
|
node {
|
||
|
def img
|
||
|
stage('Preparation') { // for display purposes
|
||
|
img = docker.build('ium-helloworld')
|
||
|
}
|
||
|
stage('Train') {
|
||
|
img.inside('-v /tmp/mlruns:/tmp/mlruns -v /mlruns:/mlruns ') {
|
||
|
sh 'ls -l /tmp/mlruns'
|
||
|
sh 'ls -l /mlruns'
|
||
|
sh './train.py'
|
||
|
sh 'ls -l /tmp/mlruns'
|
||
|
sh 'ls -l /mlruns'
|
||
|
}
|
||
|
}
|
||
|
|
||
|
}
|
||
|
|