From 22b155a580d6ac9d09e15259afd92e4e853c7799 Mon Sep 17 00:00:00 2001 From: Mark Rekveld Date: Mon, 28 Sep 2020 08:55:34 +0200 Subject: [PATCH] SQSCANNER-70 - Updated script comments (#91) --- src/main/assembly/bin/sonar-scanner | 4 +++- src/main/assembly/bin/sonar-scanner-debug | 4 +++- src/main/assembly/bin/sonar-scanner-debug.bat | 2 +- src/main/assembly/bin/sonar-scanner.bat | 3 ++- 4 files changed, 9 insertions(+), 4 deletions(-) diff --git a/src/main/assembly/bin/sonar-scanner b/src/main/assembly/bin/sonar-scanner index 56f0ce5..2d2c2cc 100755 --- a/src/main/assembly/bin/sonar-scanner +++ b/src/main/assembly/bin/sonar-scanner @@ -2,10 +2,12 @@ # # SonarScanner Startup Script for Unix # +# Required ENV vars: +# JAVA_HOME - Location of Java's installation, optional if use_embedded_jre is set +# # Optional ENV vars: # SONAR_SCANNER_OPTS - Parameters passed to the Java VM when running the SonarScanner # SONAR_SCANNER_DEBUG_OPTS - Extra parameters passed to the Java VM for debugging -# JAVA_HOME - Location of Java's installation real_path () { target=$1 diff --git a/src/main/assembly/bin/sonar-scanner-debug b/src/main/assembly/bin/sonar-scanner-debug index 750f813..dd45ab0 100755 --- a/src/main/assembly/bin/sonar-scanner-debug +++ b/src/main/assembly/bin/sonar-scanner-debug @@ -2,9 +2,11 @@ # # SonarScanner Startup Script for Unix # +# Required ENV vars: +# JAVA_HOME - Location of Java's installation, optional if use_embedded_jre is set +# # Optional ENV vars: # SONAR_SCANNER_OPTS - parameters passed to the Java VM when running the SonarScanner -# JAVA_HOME - Location of Java's installation SONAR_SCANNER_DEBUG_OPTS="-Xdebug -Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=8000" diff --git a/src/main/assembly/bin/sonar-scanner-debug.bat b/src/main/assembly/bin/sonar-scanner-debug.bat index aea4d97..3021c01 100644 --- a/src/main/assembly/bin/sonar-scanner-debug.bat +++ b/src/main/assembly/bin/sonar-scanner-debug.bat @@ -1,7 +1,7 @@ @REM SonarScanner Startup Script for Windows @REM @REM Required ENV vars: -@REM JAVA_HOME - location of a JDK home dir +@REM JAVA_HOME - Location of Java's installation, optional if use_embedded_jre is set @REM @REM Optional ENV vars: @REM SONAR_SCANNER_OPTS - parameters passed to the Java VM when running the SonarScanner diff --git a/src/main/assembly/bin/sonar-scanner.bat b/src/main/assembly/bin/sonar-scanner.bat index 4ee9e55..fdfbfd9 100644 --- a/src/main/assembly/bin/sonar-scanner.bat +++ b/src/main/assembly/bin/sonar-scanner.bat @@ -1,10 +1,11 @@ @REM SonarScanner Startup Script for Windows @REM @REM Required ENV vars: -@REM JAVA_HOME - location of a JDK home dir +@REM JAVA_HOME - Location of Java's installation, optional if use_embedded_jre is set @REM @REM Optional ENV vars: @REM SONAR_SCANNER_OPTS - parameters passed to the Java VM when running the SonarScanner +@REM SONAR_SCANNER_DEBUG_OPTS - Extra parameters passed to the Java VM for debugging @echo off -- 2.39.5