Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
docker-ci
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
UNL ITS
docker-ci
Commits
cc53a1e9
"README.md" did not exist on "e64bf0b5bf491d03a59b40442dc281b018d21559"
Commit
cc53a1e9
authored
8 months ago
by
Alan Nelson
Browse files
Options
Downloads
Patches
Plain Diff
Use alternate SHA for MR pipelines
parent
fc131668
No related branches found
No related tags found
3 merge requests
!94
Merge Request Check Updates
,
!93
Integrate bash script
,
!91
New Merge Request Helper
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
merge-request-check/merge_review_check.sh
+6
-0
6 additions, 0 deletions
merge-request-check/merge_review_check.sh
with
6 additions
and
0 deletions
merge-request-check/merge_review_check.sh
+
6
−
0
View file @
cc53a1e9
...
@@ -6,6 +6,12 @@
...
@@ -6,6 +6,12 @@
#CI_COMMIT_BEFORE_SHA=""
#CI_COMMIT_BEFORE_SHA=""
#CI_COMMIT_SHA=""
#CI_COMMIT_SHA=""
# For merge request pipelines, the before SHA is all 0s.
# Replace with a MR specific variable for these pipelines.
if
[[
$CI_PIPELINE_SOURCE
=
'merge_request_event'
]]
;
then
CI_COMMIT_BEFORE_SHA
=
"
$CI_MERGE_REQUEST_DIFF_BASE_SHA
"
fi
# If any commands in this scprt fail, exit with a non-zero exit code
# If any commands in this scprt fail, exit with a non-zero exit code
set
-e
set
-e
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment