Commit 3401556c authored by John Red Medrano's avatar John Red Medrano

Update .gitlab-ci.yml

parent d882ffcd
Pipeline #325 passed with stages
in 1 minute and 50 seconds
...@@ -117,7 +117,7 @@ build_sit: ...@@ -117,7 +117,7 @@ build_sit:
stage: build_sit stage: build_sit
image: ubuntu image: ubuntu
rules: rules:
- if: '$CI_COMMIT_MESSAGE =~ /initial/ && $CI_COMMIT_BRANCH == "red-test-sit" || $CI_MERGE_REQUEST_TARGET_BRANCH_NAME == "red-test-sit"' - if: '$CI_COMMIT_MESSAGE =~ /initial/ && $CI_MERGE_REQUEST_TARGET_BRANCH_NAME == "red-test-sit"'
when: always when: always
before_script: before_script:
- 'which ssh-agent || ( apt-get update -y && apt-get install openssh-client -y)' - 'which ssh-agent || ( apt-get update -y && apt-get install openssh-client -y)'
...@@ -149,7 +149,7 @@ clean_build_sit: ...@@ -149,7 +149,7 @@ clean_build_sit:
stage: clean_build_sit stage: clean_build_sit
image: ubuntu image: ubuntu
rules: rules:
- if: '$CI_COMMIT_MESSAGE =~ /initial/ && $CI_COMMIT_BRANCH == "red-test-sit" || $CI_MERGE_REQUEST_TARGET_BRANCH_NAME == "red-test-sit"' - if: '$CI_COMMIT_MESSAGE =~ /initial/ && $CI_MERGE_REQUEST_TARGET_BRANCH_NAME == "red-test-sit"'
when: on_failure when: on_failure
script: script:
- echo "this is a clean up for clean_build_sit" - echo "this is a clean up for clean_build_sit"
...@@ -167,7 +167,7 @@ rebuild_sit: ...@@ -167,7 +167,7 @@ rebuild_sit:
stage: rebuild_sit stage: rebuild_sit
image: ubuntu image: ubuntu
rules: rules:
- if: '$CI_COMMIT_MESSAGE !~ /initial/ && $CI_COMMIT_BRANCH == "red-test-sit" || $CI_MERGE_REQUEST_TARGET_BRANCH_NAME == "red-test-sit"' - if: '$CI_COMMIT_MESSAGE !~ /initial/ && $CI_MERGE_REQUEST_TARGET_BRANCH_NAME == "red-test-sit"'
when: always when: always
before_script: before_script:
- 'which ssh-agent || ( apt-get update -y && apt-get install openssh-client -y)' - 'which ssh-agent || ( apt-get update -y && apt-get install openssh-client -y)'
...@@ -195,7 +195,7 @@ clean_rebuild_sit: ...@@ -195,7 +195,7 @@ clean_rebuild_sit:
stage: clean_rebuild_sit stage: clean_rebuild_sit
image: ubuntu image: ubuntu
rules: rules:
- if: '$CI_COMMIT_MESSAGE !~ /initial/ && $CI_COMMIT_BRANCH == "red-test-sit" || $CI_MERGE_REQUEST_TARGET_BRANCH_NAME == "red-test-sit"' - if: '$CI_COMMIT_MESSAGE !~ /initial/ && $CI_MERGE_REQUEST_TARGET_BRANCH_NAME == "red-test-sit"'
when: on_failure when: on_failure
script: script:
- echo "this is a clean up for clean_build_sit" - echo "this is a clean up for clean_build_sit"
......
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