Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
NFV - Network Functions Virtualisation
api-tests
Commits
6cacd760
Commit
6cacd760
authored
Aug 31, 2021
by
Miguel Angel Reina Ortega
Browse files
Triggering CI/CD of Robot Hive Tap Test Tools project for 'plu' branches
parent
35cbc2de
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
0 deletions
+13
-0
.jenkins.sh
.jenkins.sh
+13
-0
No files found.
.jenkins.sh
View file @
6cacd760
...
...
@@ -14,6 +14,19 @@ echo "Using git branch $GIT_BRANCH"
bash ./scripts/build-container.sh
bash ./scripts/run-container.sh
"
${
run_dir
}
"
"
$GIT_BRANCH
"
if
[[
"
$GIT_BRANCH
"
=
~ .
*
fix-plu
$
]]
;
then
apiTestsVersion
=
$(
echo
$GIT_BRANCH
|
cut
-d
'/'
-f
2
)
apiTestsVersion
=
$(
echo
$apiTestsVersion
|
cut
-d
'-'
-f
1
)
echo
apiTestsVersion
curl
-X
POST
\
-F
token
=
${
ROBOT_HIVE_TAP_TT_TOKEN
}
\
-F
ref
=
master
\
-F
"variables[API_TESTS_VERSION]=
$apiTestsVersion
"
\
-F
"variables[TEST_SUITE]=NFV"
\
https://forge.etsi.org/rep/api/v4/projects/484/trigger/pipeline
fi
ret
=
$?
echo
"Final validation result:
$ret
"
exit
$ret
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