Commit 176b7257 authored by Miguel Angel Reina Ortega's avatar Miguel Angel Reina Ortega
Browse files

Triggering CI/CD of Robot Hive Tap Test Tools project for 'plu' branches

parent 0f6f8c11
......@@ -14,6 +14,19 @@ echo "Using git branch $GIT_BRANCH"
bash ./scripts/
bash ./scripts/ "${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 ref=master \
-F "variables[API_TESTS_VERSION]=$apiTestsVersion" \
-F "variables[TEST_SUITE]=NFV" \
echo "Final validation result: $ret"
exit $ret
Supports Markdown
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