Commit 9fa0e285 authored by Bertrand Goareguer's avatar Bertrand Goareguer
Browse files

Merge branch 'beber80-main-patch-34750' into 'main'

fix: use of $SONAR_AUTH_TOKEN

See merge request to-be-continuous/defectdojo!32
parents 563f4387 d0fa5e80
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -174,7 +174,7 @@ variables:
    sonarqube_report=0
    if [[ "$SONAR_AUTH_TOKEN" ]] && [[ -z "$SONAR_TOKEN" ]]
    then 
      log_warn '$SONAR_AUTH_TOKEN variable detected: use $SONAR_TOKEN instead (see doc)'
      log_warn "\$SONAR_AUTH_TOKEN variable detected: use \$SONAR_TOKEN instead (see doc)"
      export SONAR_TOKEN="$SONAR_AUTH_TOKEN"
    fi
    if [ -n "${SONAR_URL}" ] && [ -n "${SONAR_TOKEN}" ] && [ -n "${DEFECTDOJO_SONARQUBE_PROJECT_KEY}" ] && [ -n "${DEFECTDOJO_SONARQUBE_APPLICATION}" ]; then