DroidsOnRoids / bitrise-step-sonarqube-scanner

Step for running SonarQube Scanner CLI
MIT License
6 stars 19 forks source link

Any way we can cache this with the bitrie cache step #16

Open corganfuzz opened 3 years ago

corganfuzz commented 3 years ago

The step works but it takes 3 minutes to wget and setup, is it possible to cache it ?, for larger apps is a pain

if [${TEMP_DIR}/sonar-scanner-folder] 
then
     ${TEMP_DIR}/sonar-scanner-${scanner_version}/bin/sonar-scanner $debug_flag
else 
    wget https://binaries.sonarsource.com/Distribution/sonar-scanner-cli/sonar-scanner-cli-${scanner_version}.zip
    unzip sonar-scanner-cli-${scanner_version}.zip
fi

Something like that, I could do it on my workflow script step, but I'd rather have it on this repo.

koral-- commented 2 years ago

Sorry for the delay. I missed that issue. Feel free to submit the PR.