mirror of
https://github.com/kerwincui/FastBee.git
synced 2025-10-26 01:20:27 +08:00
update pipeline-docker.yml for Gitee Go updated_at:2022-05-29 17:17:26
This commit is contained in:
@@ -11,6 +11,39 @@ triggers:
|
||||
include:
|
||||
- ^deploy-docker
|
||||
stages:
|
||||
- name: stage-5ecf171c
|
||||
displayName: 项目打包
|
||||
strategy: naturally
|
||||
trigger: auto
|
||||
executor:
|
||||
- kerwincui
|
||||
steps:
|
||||
- step: build@maven
|
||||
name: build_maven
|
||||
displayName: Maven 构建
|
||||
jdkVersion: '8'
|
||||
mavenVersion: 3.3.9
|
||||
commands:
|
||||
- mvn -B clean package -Dmaven.test.skip=true
|
||||
artifacts:
|
||||
- name: BUILD_ARTIFACT
|
||||
path:
|
||||
- ./target
|
||||
settings: []
|
||||
strategy:
|
||||
retry: '0'
|
||||
- step: build@nodejs
|
||||
name: build_nodejs
|
||||
displayName: Nodejs 构建
|
||||
nodeVersion: 14.16.0
|
||||
commands:
|
||||
- npm install && rm -rf ./dist && npm run build
|
||||
artifacts:
|
||||
- name: BUILD_ARTIFACT
|
||||
path:
|
||||
- ./dist
|
||||
strategy:
|
||||
retry: '0'
|
||||
- name: stage-59a550ac
|
||||
displayName: 构建镜像
|
||||
strategy: naturally
|
||||
|
||||
Reference in New Issue
Block a user