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
7ccc8502
Unverified
Commit
7ccc8502
authored
4 years ago
by
Keshav Prasad
Committed by
GitHub
4 years ago
Browse files
Options
Download
Patches
Plain Diff
fix: typo if
parent
e073d033
release-3.4.0-shared-lib
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
vars/summary.groovy
+1
-1
vars/summary.groovy
with
1 addition
and
1 deletion
+1
-1
vars/summary.groovy
+
1
−
1
View file @
7ccc8502
...
...
@@ -27,7 +27,7 @@ def call() {
echo "${jobType}/${module}/${jobName}, imagetag: ${image_tag}, privatebranch: ${privateBranch}, publicbranch: ${publicBranch}">> $JENKINS_HOME/summary/${envDir}/summary.txt
"""
}
else
{
artifact_version
=
sh
(
returnStdout:
true
,
script:
'f [[ -f metadata.json ]]; then jq -r .artifact_version metadata.json; else echo "NA"; fi'
).
trim
()
artifact_version
=
sh
(
returnStdout:
true
,
script:
'
i
f [[ -f metadata.json ]]; then jq -r .artifact_version metadata.json; else echo "NA"; fi'
).
trim
()
sh
"""
sed -i "s/${jobType}:${module}:${jobName}.*//g" ${JENKINS_HOME}/summary/${envDir}/summary.txt
sed -i "/^\\\$/d" ${JENKINS_HOME}/summary/${envDir}/summary.txt
...
...
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