Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
O
OpenXG-UPF
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
1
Issues
1
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
OpenXG
OpenXG-UPF
Commits
31d384ee
Commit
31d384ee
authored
Mar 04, 2022
by
Raphael Defosseux
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix(ci): typo in quote usage
Signed-off-by:
Raphael Defosseux
<
raphael.defosseux@eurecom.fr
>
parent
80c2a09e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
2 deletions
+5
-2
ci-scripts/Jenkinsfile-GitLab-Docker
ci-scripts/Jenkinsfile-GitLab-Docker
+5
-2
No files found.
ci-scripts/Jenkinsfile-GitLab-Docker
View file @
31d384ee
...
...
@@ -104,7 +104,7 @@ pipeline {
if
(
"MERGE"
.
equals
(
env
.
gitlabActionType
))
{
try
{
myShCmd
(
'docker image inspect --format=
\'Size = {{.Size}} bytes\'
vpp-upf-base:'
+
VPP_UPF_U18_BASE_IMAGE_TAG
,
rem_u18_host_flag
,
rem_u18_host_user
,
rem_u18_host
)
myShCmd
(
'docker image inspect --format=
"Size = {{.Size}} bytes"
vpp-upf-base:'
+
VPP_UPF_U18_BASE_IMAGE_TAG
,
rem_u18_host_flag
,
rem_u18_host_user
,
rem_u18_host
)
}
catch
(
Exception
e
)
{
currentBuild
.
result
=
'FAILURE'
echo
'\u26D4 \u001B[31mUbuntu18 Base Image does not exist\u001B[0m'
...
...
@@ -112,13 +112,16 @@ pipeline {
}
if
(
rem_rhel_host_flag
)
{
try
{
myShCmd
(
'sudo podman image inspect --format=
\'Size = {{.Size}} bytes\'
vpp-upf-base:'
+
VPP_UPF_RHEL7_BASE_IMAGE_TAG
,
rem_rhel_host_flag
,
rem_rhel_host_user
,
rem_rhel_host
)
myShCmd
(
'sudo podman image inspect --format=
"Size = {{.Size}} bytes"
vpp-upf-base:'
+
VPP_UPF_RHEL7_BASE_IMAGE_TAG
,
rem_rhel_host_flag
,
rem_rhel_host_user
,
rem_rhel_host
)
}
catch
(
Exception
e
)
{
currentBuild
.
result
=
'FAILURE'
echo
'\u26D4 \u001B[31mRHEL7 Base Image does not exist\u001B[0m'
error
"Stopping pipeline!"
}
}
gitCommitAuthorEmailAddr
=
env
.
gitlabUserEmail
}
else
{
gitCommitAuthorEmailAddr
=
gitCommitAuthorEmailAddr
.
trim
()
}
if
(
params
.
DockerHubCredentials
==
null
)
{
echo
'\u26D4 \u001B[31mNo Credentials to push to DockerHub!\u001B[0m'
...
...
Write
Preview
Markdown
is supported
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