From f01dad85969b07e8085fbeb62d8c231e512c05c8 Mon Sep 17 00:00:00 2001 From: Maciej Sobkowiak Date: Sun, 16 May 2021 16:05:03 +0200 Subject: [PATCH] Added train Jenkinsfile --- train.Jenkinsfile | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 train.Jenkinsfile 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