d807f97a46
Some checks reported errors
s434784-training/pipeline/head Something is wrong with the build of this commit
17 lines
376 B
Plaintext
17 lines
376 B
Plaintext
pipeline {
|
|
agent any;
|
|
stages{
|
|
stage('docker-training') {
|
|
steps {
|
|
script {
|
|
def image = docker.build('dock')
|
|
image.inside{
|
|
sh 'chmod +x training.py'
|
|
sh 'python3 training.py'
|
|
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
} |