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