|
|
@ -15,7 +15,7 @@ steps:
|
|
|
|
from_secret: SONARQ_TOKEN
|
|
|
|
from_secret: SONARQ_TOKEN
|
|
|
|
commands:
|
|
|
|
commands:
|
|
|
|
- apt-get update && apt-get install -y unzip
|
|
|
|
- apt-get update && apt-get install -y unzip
|
|
|
|
- curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer;
|
|
|
|
- curl -sS https://getcomposer.org/installer | php -- --install-dir=/drone/src --filename=composer;
|
|
|
|
- export SONAR_SCANNER_VERSION=4.7.0.2747
|
|
|
|
- export SONAR_SCANNER_VERSION=4.7.0.2747
|
|
|
|
- export SONAR_SCANNER_HOME=$HOME/.sonar/sonar-scanner-$SONAR_SCANNER_VERSION-linux
|
|
|
|
- export SONAR_SCANNER_HOME=$HOME/.sonar/sonar-scanner-$SONAR_SCANNER_VERSION-linux
|
|
|
|
- curl --create-dirs -sSLo $HOME/.sonar/sonar-scanner.zip https://binaries.sonarsource.com/Distribution/sonar-scanner-cli/sonar-scanner-cli-$SONAR_SCANNER_VERSION-linux.zip
|
|
|
|
- curl --create-dirs -sSLo $HOME/.sonar/sonar-scanner.zip https://binaries.sonarsource.com/Distribution/sonar-scanner-cli/sonar-scanner-cli-$SONAR_SCANNER_VERSION-linux.zip
|
|
|
|