Skip to content
Snippets Groups Projects
Commit 5f952583 authored by Manuel Kieweg's avatar Manuel Kieweg
Browse files

Merge branch '125-Preventduplicatedpipelinesonmergerequestandcommit' into 'develop'

Resolve "Prevent duplicated pipelines on merge request and commit"

See merge request cocsn/gosdn!169
parents 79d7afb0 74b7c909
No related branches found
No related tags found
9 merge requests!246Develop,!245Develop into Master,!244Master into develop2 into master,!219Draft: Testing,!214Test pipelines,!195DO NOT MERGE 2,!194DO NOT MERGE! just for testing,!169Resolve "Prevent duplicated pipelines on merge request and commit",!138Develop
Pipeline #75907 passed
...@@ -2,6 +2,14 @@ variables: ...@@ -2,6 +2,14 @@ variables:
SECURE_ANALYZERS_PREFIX: registry.gitlab.com/gitlab-org/security-products/analyzers SECURE_ANALYZERS_PREFIX: registry.gitlab.com/gitlab-org/security-products/analyzers
DOCKER_IMAGE_SHA: ${CI_REGISTRY_IMAGE}:${CI_COMMIT_SHA} DOCKER_IMAGE_SHA: ${CI_REGISTRY_IMAGE}:${CI_COMMIT_SHA}
workflow:
rules:
- if: '$CI_PIPELINE_SOURCE == "merge_request_event"'
- if: '$CI_PIPELINE_SOURCE == "schedule"'
- if: '$CI_COMMIT_BRANCH && $CI_OPEN_MERGE_REQUESTS && $CI_PIPELINE_SOURCE == "push"'
when: never
- if: '$CI_COMMIT_BRANCH'
stages: stages:
- .pre - .pre
- test - test
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment