14 lines
330 B
Plaintext
14 lines
330 B
Plaintext
|
pipeline {
|
||
|
agent any;
|
||
|
stage('docker-training') {
|
||
|
steps {
|
||
|
script {
|
||
|
def image = docker.build('dock')
|
||
|
image.inside{
|
||
|
sh 'training.py'
|
||
|
sh 'python3 ./training.py'
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|