mirror of
https://gitee.com/beecue/fastbee.git
synced 2025-12-17 16:36:03 +08:00
update pipeline-java.yml
This commit is contained in:
@@ -22,7 +22,7 @@ stages:
|
|||||||
name: build_maven
|
name: build_maven
|
||||||
displayName: Maven 构建
|
displayName: Maven 构建
|
||||||
jdkVersion: '8'
|
jdkVersion: '8'
|
||||||
mavenVersion: 3.6.1
|
mavenVersion: 3.6.3
|
||||||
commands:
|
commands:
|
||||||
- cd ./springboot
|
- cd ./springboot
|
||||||
- mvn -B clean package -Dmaven.test.skip=true
|
- mvn -B clean package -Dmaven.test.skip=true
|
||||||
@@ -49,16 +49,12 @@ stages:
|
|||||||
name: springboot
|
name: springboot
|
||||||
target: ~/gitee_go/deploy
|
target: ~/gitee_go/deploy
|
||||||
dependArtifact: BUILD_JAVA
|
dependArtifact: BUILD_JAVA
|
||||||
script: |-
|
script:
|
||||||
# 请在此输入部署脚本,如启动Java应用如下
|
- '# 请在此输入部署脚本,如启动Java应用如下'
|
||||||
# nohup java -jar test.jar > nohup.out &
|
- '# nohup java -jar test.jar > nohup.out &'
|
||||||
echo 'Hello Gitee!'
|
- ' echo ''Hello Gitee!'''
|
||||||
touch springboot
|
- ' touch springboot'
|
||||||
strategy:
|
strategy:
|
||||||
retry: '0'
|
retry: '0'
|
||||||
strategy:
|
strategy:
|
||||||
blocking: true
|
blocking: true
|
||||||
permissions:
|
|
||||||
- role: admin
|
|
||||||
members:
|
|
||||||
- kerwincui
|
|
||||||
|
|||||||
Reference in New Issue
Block a user