update pipeline-deploy.yml for Gitee Go updated_at:2022-05-29 13:01:53

This commit is contained in:
随遇而安
2022-05-29 13:01:53 +00:00
committed by Gitee
parent 042761259e
commit d25592232b

View File

@@ -32,20 +32,6 @@ stages:
settings: [] settings: []
strategy: strategy:
retry: '0' retry: '0'
- name: stage-129078f0
displayName: 发布-可无
strategy: naturally
trigger: auto
executor:
- kerwincui
steps:
- step: publish@general_artifacts
name: publish_general_artifacts
displayName: 上传制品
dependArtifact: BUILD_JAVA
artifactName: output
strategy:
retry: '0'
- name: stage-b6625c4a - name: stage-b6625c4a
displayName: 部署 displayName: 部署
strategy: naturally strategy: naturally
@@ -57,12 +43,10 @@ stages:
displayName: 主机部署 displayName: 主机部署
hostGroupID: alicloud hostGroupID: alicloud
deployArtifact: deployArtifact:
- source: artifact - source: build
name: output name: output
target: ~/gitee_go/deploy target: ~/gitee_go/deploy
artifactRepository: release dependArtifact: BUILD_JAVA
artifactName: output
artifactVersion: latest
script: |- script: |-
# 请在此输入部署脚本如启动Java应用如下 # 请在此输入部署脚本如启动Java应用如下
# nohup java -jar test.jar > nohup.out & # nohup java -jar test.jar > nohup.out &