Commit 60a9aca2 by 汤文兵

打印当前提交id和上一次提交id和(tag或分支名)

parent 49c484ff
Pipeline #516 passed with stage
in 0 seconds
...@@ -20,12 +20,13 @@ ...@@ -20,12 +20,13 @@
# - master # - master
# script: # script:
# - echo "Do your deploy here" # - echo "Do your deploy here"
deploy: deploy:
stage: deploy stage: deploy
only: only:
- master - master
- changes:
- Dockerfile
script: script:
- echo "Dockerfile changed!!!" - echo $CI_COMMIT_SHA
- echo $CI_COMMIT_BEFORE_SHA
- echo $CI_COMMIT_REF_NAME
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