Update 'Jenkinsfile-Docker'
This commit is contained in:
parent
3f1def11e3
commit
9726516663
@ -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'
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
Loading…
Reference in New Issue
Block a user