Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
MEC - Multi-access Edge Computing
MEC Robot Test Suite
Commits
9a0b289a
Commit
9a0b289a
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
b0232eb9
Pipeline
#8529
passed with stage
in 0 seconds
Changes
1
Pipelines
3
Show whitespace changes
Inline
Side-by-side
.jenkins.sh
View file @
9a0b289a
...
...
@@ -9,7 +9,24 @@ cd "$(dirname "$0")"
run_dir
=
"
$(
pwd
)
"
echo
"Using git branch
$GIT_BRANCH
"
./scripts/build-container.sh
./scripts/run-container.sh
"
${
run_dir
}
"
exit
$?
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]=MEC"
\
https://forge.etsi.org/rep/api/v4/projects/484/trigger/pipeline
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