Commit 64fb4b91 by 据说甜蜜呢

添加job,并优化管道

parent be42bd18
Pipeline #4219 passed with stage
in 19 seconds
stages:
- build
- staging-release-major
- prod-release-major
# Creation
- release-major
# Updating
- analysing-git-changes
build_job:
stage: build
......@@ -11,7 +13,7 @@ build_job:
- build
staging-major_job:
stage: staging-release-major
stage: release-major
script:
- export Environment='Staging'
......@@ -32,7 +34,7 @@ staging-major_job:
- staging
prod-major_job:
stage: prod-release-major
stage: release-major
script:
- export Environment='Production'
......@@ -50,4 +52,14 @@ prod-major_job:
only:
- rel/major
tags:
- production
\ No newline at end of file
- production
staging-analysing-git-changes_job:
stage: analysing-git-changes
script:
# 001 Analysing git changes.
- bash +x ./devops/PipeLines/Updating/001_AnalysingGitChanges.sh
only:
- staging
tags:
- staging
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment