cathive / concourse-sonarqube-resource

performs SonarQube analyses and checks quality gates https://concourse-ci.org/ https://sonarqube.org/
Apache License 2.0
46 stars 50 forks source link

Enable globstar. #63

Closed pnedunuri closed 3 years ago

pnedunuri commented 4 years ago

What's the requirement? - https://github.com/cathive/concourse-sonarqube-resource/issues/60

changes: assets/out -> enable globstar, change directory to {project_path} before wildcard_convert assets/common.sh -> removed {project_path}

Above changes work for paths with globstar and no globstar; for example:

        sonar.exclusions: "functional-tests/**"
        sonar.java.binaries: "server/build/classes/java/main"
        sonar.java.test.binaries: "server/build/classes/java/test"
        sonar.java.libraries.reportPaths: "**/build/libs/**/*.jar"
        sonar.java.test.libraries.reportPaths: "**/build/libs/**/*.jar"
        sonar.jacoco.reportPaths: "**/build/jacoco/*.exec"
pnedunuri commented 4 years ago

@headcr4sh can you review this when you get time?