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
2ec2481c
Unverified
Commit
2ec2481c
authored
6 years ago
by
Keshav Prasad
Committed by
GitHub
6 years ago
Browse files
Options
Download
Patches
Plain Diff
Issue #000: Artifact version when parameter not specified
parent
5f58315b
shared-lib_627aacd
shared-lib
release-3.4.0-shared-lib
release-2.7.0-shared-lib
release-2.6.0-shared-lib
release-2.5.0-shared-lib
release-2.4.0-shared-lib
release-2.0.0-shared-lib
release-1.15.0-shared-lib
release-1.15-shared-lib-interim
release-1.14.0-shared-lib
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
vars/lp_dp_params.groovy
+1
-1
vars/lp_dp_params.groovy
with
1 addition
and
1 deletion
+1
-1
vars/lp_dp_params.groovy
+
1
−
1
View file @
2ec2481c
...
...
@@ -48,7 +48,7 @@ def call(){
artifact_name
=
sh
(
returnStdout:
true
,
script:
'jq -r .artifact_name metadata.json'
).
trim
()
if
(
params
.
artifact_version
==
""
)
{
if
(
params
.
artifact_version
==
""
||
params
.
artifact_version
==
null
)
{
println
(
ANSI_BOLD
+
ANSI_YELLOW
+
'''\
artifact_version not specified, using the artifact_version specified in metadata.json.
'''
.
stripIndent
().
replace
(
"\n"
,
" "
)
+
ANSI_NORMAL
)
...
...
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