Provide option to set qa-tools repo using job parameters

- Passing parameters from Jenkins job for qa-tools repo
and branch to ci scripts enabled (at qa-code-coverage.sh).

Signed-off-by: Saul Romero <saul.romero@arm.com>
Change-Id: Ie134f79992e916a98716ed1ddf8d17183ac36d13
Signed-off-by: Saul Romero <saul.romero@arm.com>
diff --git a/script/qa-code-coverage.sh b/script/qa-code-coverage.sh
index 4fc0d9a..e5961b0 100644
--- a/script/qa-code-coverage.sh
+++ b/script/qa-code-coverage.sh
@@ -30,11 +30,11 @@
 REPORT_FOLDER=${CODE_COVERAGE_FOLDER}/lcov
 
 if echo "$JENKINS_URL" | grep -q "oss.arm.com"; then
-  QA_REPO=${QA_REPO_PUBLIC}
-  QA_REFSPEC=${QA_REFSPEC:-master}
+  QA_REPO=${QA_TOOLS_REPO:-$QA_REPO_PUBLIC}
+  QA_REFSPEC=${QA_TOOLS_BRANCH:-master}
 else
-  QA_REPO="https://review.trustedfirmware.org/ci/qa-tools"
-  QA_REFSPEC="openci"
+  QA_REPO=${QA_TOOLS_REPO:-"https://review.trustedfirmware.org/ci/qa-tools"}
+  QA_REFSPEC=${QA_TOOLS_BRANCH:-"openci"}
 fi