|
@@ -43,7 +43,7 @@ pipeline { //pipeline 顶层
|
|
|
steps {
|
|
|
sh 'chmod -R +x ./$DEPLOY_FILE_PATH/'
|
|
|
sh 'rm -rf ./$DEPLOY_FILE_PATH/*.jar && cp ./target/*.jar ./$DEPLOY_FILE_PATH'
|
|
|
- sh 'docker build -f ./Dockerfile --build-arg WORKER_HOME=$WORKER_HOME -t $DOCKER_IMAGE ./$DEPLOY_FILE_PATH'
|
|
|
+ sh 'docker build -f ./$DEPLOY_FILE_PATH/Dockerfile --build-arg WORKER_HOME=$WORKER_HOME -t $DOCKER_IMAGE ./$DEPLOY_FILE_PATH'
|
|
|
}
|
|
|
}
|
|
|
//部署流程四:项目推送到本地私有仓库
|