Update 'Jenkinsfile-Docker'

This commit is contained in:
Wojciech Mikołajski 2023-04-19 19:51:51 +02:00
parent 3f1def11e3
commit 9726516663

View File

@ -26,13 +26,9 @@ node {
checkout scm checkout scm
} }
stage('Build Docker image') { stage('Build Docker image') {
steps { sh 'docker build -t wujt89 -f Dockerfile .'
sh 'docker build -t wujt89 -f Dockerfile .'
}
} }
stage('sh: Shell Script') { 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'
}
} }
} }