De-lint JJB files
* De-lint files
* Move the sonar URL calls to a global Jenkins Variable
Change-Id: Ic2086d922e848596aab2f2471ee8e615c34f581e
Signed-off-by: Andrew Grimberg <agrimberg@linuxfoundation.org>
diff --git a/jjb/global-templates-java.yaml b/jjb/global-templates-java.yaml
index 46f452c..a96c625 100644
--- a/jjb/global-templates-java.yaml
+++ b/jjb/global-templates-java.yaml
@@ -236,7 +236,7 @@
- maven-target:
maven-version: '{maven-version}'
- goals: 'clean deploy sonar:sonar -Dsonar.host.url=https://sonar.openecomp.org'
+ goals: 'clean deploy sonar:sonar -Dsonar.host.url=${{SONAR}}'
properties:
- '{maven-deploy-properties}'
settings: '{mvn-settings}'
@@ -306,7 +306,7 @@
- maven-target:
maven-version: '{maven-version}'
- goals: 'clean deploy sonar:sonar -Dsonar.host.url=https://sonar.openecomp.org'
+ goals: 'clean deploy sonar:sonar -Dsonar.host.url=${{SONAR}}'
properties:
- '{maven-deploy-properties}'
settings: '{mvn-settings}'
@@ -368,7 +368,7 @@
- maven-target:
maven-version: '{maven-version}'
pom: '{pom}'
- goals: 'clean deploy sonar:sonar -Dsonar.host.url=https://sonar.openecomp.org'
+ goals: 'clean deploy sonar:sonar -Dsonar.host.url=${{SONAR}}'
properties:
- '{maven-deploy-properties}'
settings: '{mvn-settings}'
@@ -798,7 +798,7 @@
- maven-target:
maven-version: '{maven-version}'
- goals: 'clean deploy sonar:sonar -Dsonar.host.url=https://sonar.openecomp.org'
+ goals: 'clean deploy sonar:sonar -Dsonar.host.url=${{SONAR}}'
properties:
- '{maven-deploy-properties}'
settings: '{mvn-settings}'
@@ -875,7 +875,7 @@
- maven-target:
maven-version: '{maven-version}'
pom: '{pom}'
- goals: 'clean deploy sonar:sonar -Dsonar.host.url=https://sonar.openecomp.org'
+ goals: 'clean deploy sonar:sonar -Dsonar.host.url=${{SONAR}}'
properties:
- '{maven-deploy-properties}'
settings: '{mvn-settings}'