mirror of
https://github.com/kerwincui/FastBee.git
synced 2025-10-26 17:40:24 +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:
|
include:
|
||||||
- ^deploy-docker
|
- ^deploy-docker
|
||||||
stages:
|
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
|
- name: stage-59a550ac
|
||||||
displayName: 构建镜像
|
displayName: 构建镜像
|
||||||
strategy: naturally
|
strategy: naturally
|
||||||
|
|||||||
Reference in New Issue
Block a user