Added train Jenkinsfile
Some checks failed
s434784-training/pipeline/head There was a failure building this commit

This commit is contained in:
Maciej Sobkowiak 2021-05-16 16:05:03 +02:00
parent 12fcd199fa
commit f01dad8596

14
train.Jenkinsfile Normal file
View 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'
}
}
}
}
}