Commit 31d384ee authored by Raphael Defosseux's avatar Raphael Defosseux

fix(ci): typo in quote usage

Signed-off-by: default avatarRaphael Defosseux <raphael.defosseux@eurecom.fr>
parent 80c2a09e
......@@ -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'
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment