From 9726516663b402c0dd66668dc04f26da3dc214fb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Wojciech=20Miko=C5=82ajski?= Date: Wed, 19 Apr 2023 19:51:51 +0200 Subject: [PATCH] Update 'Jenkinsfile-Docker' --- Jenkinsfile-Docker | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/Jenkinsfile-Docker b/Jenkinsfile-Docker index e78d907..86f2077 100644 --- a/Jenkinsfile-Docker +++ b/Jenkinsfile-Docker @@ -26,13 +26,9 @@ node { checkout scm } stage('Build Docker image') { - steps { - sh 'docker build -t wujt89 -f Dockerfile .' - } + sh 'docker build -t wujt89 -f Dockerfile .' } stage('sh: Shell Script') { - script { - sh 'docker run -v ${env.WORKSPACE}/artifacts:/app/artifacts wujt89 python3 ./create_dataset.py' - } + sh 'docker run -v ${env.WORKSPACE}/artifacts:/app/artifacts wujt89 python3 ./create_dataset.py' } } \ No newline at end of file