Uploaded image for project: 'SonarQube'
  1. SonarQube
  2. SONAR-13529

Jenkins auto-configuration not working when running the scanner docker image

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 8.4
    • Component/s: None
    • Labels:
      None
    • Edition:
      Community
    • Production Notes:
      None

      Description

      We auto-configure branch and pull request analysis for Jenkins. To detect that the scanner is running in Jenkins, we look for the JENKINS_HOME environment variable.

      Unfortunately that environment variable is not available when Jenkins runs docker images.

      We should detect Jenkins based on JENKINS_URL environment variable too, which is set when running docker.

       

       

       

       

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              jacek.poreda Jacek Poreda
              Reporter:
              duarte.meneses Duarte Meneses
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Due:
                Created:
                Updated:
                Resolved: