X-Git-Url: https://gerrit.linuxfoundation.org/infra/gitweb?a=blobdiff_plain;ds=sidebyside;f=.jjb-test%2Fexpected-xml%2Fgithub-maven-sonar;h=dac8f70d092b51616602894f6355999fa96a85ae;hb=5ffdf16ad97cb83038320301062221c990f283c8;hp=6a5d1d9458a7533d2802decceb8d5539e1ca975b;hpb=9d3f891844ffaacec7ada4a22df0b3e95caadae4;p=releng%2Fglobal-jjb.git
diff --git a/.jjb-test/expected-xml/github-maven-sonar b/.jjb-test/expected-xml/github-maven-sonar
index 6a5d1d94..dac8f70d 100644
--- a/.jjb-test/expected-xml/github-maven-sonar
+++ b/.jjb-test/expected-xml/github-maven-sonar
@@ -95,13 +95,21 @@ For example '<1.0.0' or '>=1.0.0,<2.0.0'.
STAGING_PROFILE_ID
Nexus staging profile ID.
- uuddlrlrba
+
ARCHIVE_ARTIFACTS
Artifacts to archive to the logs server.
+
+ SONAR_MAVEN_GOAL
+ Maven goals to pass to the Sonar call. Typically sonar:sonar
+however to use a specific version of the sonar-maven-plugin we
+can call "org.codehaus.mojo:sonar-maven-plugin:3.3.0.603:sonar".
+
+ sonar:sonar
+
@@ -117,7 +125,7 @@ For example '<1.0.0' or '>=1.0.0,<2.0.0'.
- master
+ $sha1
@@ -185,9 +193,7 @@ For example '<1.0.0' or '>=1.0.0,<2.0.0'.
- SONAR_HOST_URL=$SONAR_URL
-SONAR_MAVEN_GOAL=sonar:sonar
-
+ SONAR_HOST_URL=$SONAR_URL
@@ -364,9 +370,9 @@ SAR_DIR="$WORKSPACE/archives/sar-reports"
mkdir -p "$SAR_DIR"
cp "$SYSSTAT_PATH/"* "$_"
# convert sar data to ascii format
-while IFS="" read -r s
+while IFS="" read -r sarfilenum
do
- [ -f "$s" ] && LC_TIME=POSIX sar -A -f "$s" > "$SAR_DIR/sar${s//[!0-9]/}"
+ [ -f "$sarfilenum" ] && LC_TIME=POSIX sar -A -f "$sarfilenum" > "$SAR_DIR/sar${sarfilenum//[!0-9]/}"
done < <(find "$SYSSTAT_PATH" -name "sa[0-9]*" || true)
# DON'T fail build if script fails.