Skip to content
GitLab
Explore
Projects
Groups
Topics
Snippets
Projects
Groups
Topics
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Register
Sign in
Toggle navigation
Menu
UPSMF
uphrh-sb-devops
Commits
061a5af5
Unverified
Commit
061a5af5
authored
6 years ago
by
Keshav Prasad
Committed by
GitHub
6 years ago
Browse files
Options
Download
Patches
Plain Diff
Variable scope
parent
e26d6781
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
vars/deployed_versions.groovy
+1
-1
vars/deployed_versions.groovy
with
1 addition
and
1 deletion
+1
-1
vars/deployed_versions.groovy
+
1
−
1
View file @
061a5af5
...
...
@@ -8,7 +8,7 @@ def call() {
stage
(
'check upstream'
)
{
values
=
[:]
upstream
=
currentBuild
.
rawBuild
.
getCause
(
hudson
.
model
.
Cause
$UpstreamCause
)
def
upstream
=
currentBuild
.
rawBuild
.
getCause
(
hudson
.
model
.
Cause
$UpstreamCause
)
triggerCause
=
upstream
?.
shortDescription
if
(
triggerCause
!=
null
)
triggerCause
=
triggerCause
.
split
()[
4
].
replaceAll
(
'"'
,
''
)
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
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
Menu
Explore
Projects
Groups
Topics
Snippets