Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
NFV - Network Functions Virtualisation
api-tests
Commits
16f03de8
Commit
16f03de8
authored
Sep 22, 2021
by
Elian Kraja
Committed by
Giacomo Bernini
Oct 05, 2021
Browse files
CI/CD enhancements
parent
d60ff1cc
Changes
1
Hide whitespace changes
Inline
Side-by-side
.jenkins.sh
View file @
16f03de8
...
...
@@ -12,7 +12,18 @@ run_dir="$(pwd)"
echo
"Using git branch
$GIT_BRANCH
"
bash ./scripts/build-container.sh
bash ./scripts/run-container.sh
"
${
run_dir
}
"
"
$GIT_BRANCH
"
ret
=
$?
if
[
"
$ret
"
!=
"0"
]
;
then
echo
"build-container.sh failed"
exit
-1
fi
bash ./scripts/run-container.sh
"
${
run_dir
}
"
ret
=
$?
if
[
"
$ret
"
!=
"0"
]
;
then
echo
"run-container.sh failed"
exit
-1
fi
if
[[
"
$GIT_BRANCH
"
=
~ .
*
fix-plu
$
]]
;
then
...
...
@@ -30,3 +41,4 @@ fi
ret
=
$?
echo
"Final validation result:
$ret
"
exit
$ret
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!
Cancel
Please
register
or
sign in
to comment