Commit 4317b3f1 authored by 盛金强's avatar 盛金强

Update Jenkinsfile

parent bb767ebd
...@@ -23,7 +23,7 @@ pipeline { ...@@ -23,7 +23,7 @@ pipeline {
stage ('build & push') { stage ('build & push') {
steps { steps {
container ('nodejs') { container ('nodejs') {
sh 'docker build -f Dockerfile -t $REGISTRY/$DOCKERHUB_NAMESPACE/$APP_NAME:$BUILD_NUMBER .' sh 'docker build -f Dockerfile --build-arg project=xuhui-sit -t $REGISTRY/$DOCKERHUB_NAMESPACE/$APP_NAME:$BUILD_NUMBER .'
sh 'docker push $REGISTRY/$DOCKERHUB_NAMESPACE/$APP_NAME:$BUILD_NUMBER' sh 'docker push $REGISTRY/$DOCKERHUB_NAMESPACE/$APP_NAME:$BUILD_NUMBER'
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment