Added train Jenkinsfile
Some checks failed
s434784-training/pipeline/head There was a failure building this commit
Some checks failed
s434784-training/pipeline/head There was a failure building this commit
This commit is contained in:
parent
12fcd199fa
commit
f01dad8596
14
train.Jenkinsfile
Normal file
14
train.Jenkinsfile
Normal file
@ -0,0 +1,14 @@
|
||||
pipeline {
|
||||
agent any;
|
||||
stage('docker-training') {
|
||||
steps {
|
||||
script {
|
||||
def image = docker.build('dock')
|
||||
image.inside{
|
||||
sh 'training.py'
|
||||
sh 'python3 ./training.py'
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user