Skip to content
Snippets Groups Projects
Commit 6003390f authored by Lene Wasskog's avatar Lene Wasskog
Browse files

build: Check for CI_PIPELINE_SOURCE=trigger

parent ce059ad7
Branches
Tags
No related merge requests found
Pipeline #1304 passed
...@@ -22,7 +22,7 @@ build: ...@@ -22,7 +22,7 @@ build:
tags: tags:
- vips-java - vips-java
rules: rules:
- if: '$CI_PIPELINE_SOURCE != "pipeline"' - if: '$CI_PIPELINE_SOURCE != "trigger"'
test: test:
stage: test stage: test
...@@ -31,7 +31,7 @@ test: ...@@ -31,7 +31,7 @@ test:
tags: tags:
- vips-java - vips-java
rules: rules:
- if: '$CI_PIPELINE_SOURCE != "pipeline"' - if: '$CI_PIPELINE_SOURCE != "trigger"'
test_after_vips_common_changes: test_after_vips_common_changes:
stage: test stage: test
...@@ -41,7 +41,7 @@ test_after_vips_common_changes: ...@@ -41,7 +41,7 @@ test_after_vips_common_changes:
tags: tags:
- vips-java - vips-java
rules: rules:
- if: '$CI_PIPELINE_SOURCE == "pipeline"' - if: '$CI_PIPELINE_SOURCE == "trigger"'
deploy-snapshot: deploy-snapshot:
stage: deploy stage: deploy
...@@ -50,7 +50,7 @@ deploy-snapshot: ...@@ -50,7 +50,7 @@ deploy-snapshot:
tags: tags:
- vips-java - vips-java
rules: rules:
- if: '$CI_PIPELINE_SOURCE != "pipeline" && $CI_COMMIT_REF_NAME == $MAIN_BRANCH' - if: '$CI_PIPELINE_SOURCE != "trigger" && $CI_COMMIT_REF_NAME == $MAIN_BRANCH'
deploy-release: deploy-release:
stage: deploy stage: deploy
...@@ -89,4 +89,4 @@ deploy-release: ...@@ -89,4 +89,4 @@ deploy-release:
tags: tags:
- vips-java - vips-java
rules: rules:
- if: '$CI_PIPELINE_SOURCE != "pipeline" && $CI_COMMIT_REF_NAME == $RELEASE_BRANCH' - if: '$CI_PIPELINE_SOURCE != "trigger" && $CI_COMMIT_REF_NAME == $RELEASE_BRANCH'
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment