Simplify sonar variables
Globalize sonar_mvn_goal
Issue-ID: CIMAN-33
Signed-off-by: Jessica Wagantall <jwagantall@linuxfoundation.org>
Change-Id: Ia46696394bfbde621b861e662e6a512f5f6df967
diff --git a/jjb/policy/policy-xacml-pdp.yaml b/jjb/policy/policy-xacml-pdp.yaml
index 7c376b7..6690876 100644
--- a/jjb/policy/policy-xacml-pdp.yaml
+++ b/jjb/policy/policy-xacml-pdp.yaml
@@ -38,7 +38,7 @@
sonarcloud-project-organization: '{sonarcloud_project_organization}'
sonarcloud-api-token: '{sonarcloud_api_token}'
sonarcloud-project-key: '{sonarcloud_project_organization}_{project-name}'
- sonar-mvn-goal: "org.sonarsource.scanner.maven:sonar-maven-plugin:3.6.0.1398:sonar"
+ sonar-mvn-goal: '{sonar_mvn_goal}'
cron: '@daily'
build-node: ubuntu1604-builder-4c-4g
project: 'policy/xacml-pdp'