~rcr/rirc

597c7e2881af04c248e1206da8ca4c7601fc8e42 — Richard Robbins a month ago de74e4b
fix sonarscan script names, bump version
4 files changed, 6 insertions(+), 6 deletions(-)

M .builds/dev.yml
M scripts/sa_coverity_get.sh
R scripts/{sa_sonarcloud_get.sh => sa_sonarscan_get.sh}
R scripts/{sa_sonarcloud_run.sh => sa_sonarscan_run.sh}
M .builds/dev.yml => .builds/dev.yml +2 -2
@@ 28,8 28,8 @@ tasks:
      set -x
      ./scripts/sa_coverity_get.sh coverity
      ./scripts/sa_coverity_run.sh coverity
      ./scripts/sa_sonarcloud_get.sh sonarcloud
      ./scripts/sa_sonarcloud_run.sh sonarcloud
      ./scripts/sa_sonarscan.sh sonarscan
      ./scripts/sa_sonarscan.sh sonarscan

triggers:
  - action: email

M scripts/sa_coverity_get.sh => scripts/sa_coverity_get.sh +1 -1
@@ 24,6 24,6 @@ echo "*" > "$DIR/.gitignore"
curl -fsS https://scan.coverity.com/download/linux64 -o "$COVERITY_MD5" --data "token=$COVERITY_TOKEN&project=rcr%2Frirc&md5=1"
curl -fsS https://scan.coverity.com/download/linux64 -o "$COVERITY_TGZ" --data "token=$COVERITY_TOKEN&project=rcr%2Frirc"

printf "%s  %s" "$(cat "$COVERITY_MD5")" "$COVERITY_TGZ" | md5sum -c -
printf "%s  %s" "$(cat "$COVERITY_MD5")" "$COVERITY_TGZ" | md5sum --quiet -c -

tar -xzf "$COVERITY_TGZ" -C "$DIR" --strip-components 1

R scripts/sa_sonarcloud_get.sh => scripts/sa_sonarscan_get.sh +2 -2
@@ 8,7 8,7 @@ if [[ -z $1 ]]; then
	fail "Usage: '$0 dir'"
fi

SONAR_VER="4.6.0.2311"
SONAR_VER="4.6.2.2472"

BUILD_ZIP="$1/build-wrapper.zip"
SONAR_ZIP="$1/sonar-scanner.zip"


@@ 26,7 26,7 @@ curl -fsS "$BUILD_ZIP_URL" -o "$BUILD_ZIP"
curl -fsS "$SONAR_ZIP_URL" -o "$SONAR_ZIP"
curl -fsS "$SONAR_MD5_URL" -o "$SONAR_MD5"

printf "%s  %s" "$(cat "$SONAR_MD5")" "$SONAR_TGZ" | md5sum -c -
printf "%s  %s" "$(cat "$SONAR_MD5")" "$SONAR_ZIP" | md5sum --quiet -c -

unzip -qq "$BUILD_ZIP" -d "$1"
unzip -qq "$SONAR_ZIP" -d "$1"

R scripts/sa_sonarcloud_run.sh => scripts/sa_sonarscan_run.sh +1 -1
@@ 10,7 10,7 @@ fi

DIR="$1"

SONAR_VER="4.6.0.2311"
SONAR_VER="4.6.2.2472"

SONAR_CONFIG="$DIR/sonar-project.properties"