Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
dumux-repositories
dumux-lecture
Commits
f450f27a
Commit
f450f27a
authored
Apr 21, 2021
by
Dennis Gläser
Committed by
Dennis Gläser
May 19, 2021
Browse files
[ci] pass down upstream mr branch name
parent
beca0aeb
Changes
1
Hide whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
View file @
f450f27a
...
...
@@ -7,6 +7,8 @@ variables:
# rules for the default triggers:
# - pipelines are triggered for commits to master, tags, merge requests, external triggers
# - Within merge requests, we require to start the pipeline manually by clicking play for the trigger
# - if the pipeline was triggered externally (from dumux), we expect the variable DUMUX_MERGE_REQUEST_BRANCH
# and pass it to this project's test pipeline as DUMUX_BRANCH variable
.default-trigger
:
stage
:
trigger pipelines
trigger
:
...
...
@@ -18,6 +20,8 @@ variables:
-
if
:
$CI_PIPELINE_SOURCE == "pipeline"
-
if
:
$CI_PIPELINE_SOURCE == "merge_request_event"
when
:
manual
variables
:
DUMUX_BRANCH
:
$DUMUX_MERGE_REQUEST_BRANCH
full-dune-2.7-gcc
:
extends
:
.default-trigger
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment