diff --git a/train.Jenkinsfile b/train.Jenkinsfile new file mode 100644 index 0000000..e8c23b7 --- /dev/null +++ b/train.Jenkinsfile @@ -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' + } + } + } + } + } \ No newline at end of file