Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-51412

waitforqualitygate directive does not work for multiple sonar analysis in pipeline

    • Icon: Improvement Improvement
    • Resolution: Unresolved
    • Icon: Major Major
    • sonar-plugin
    • None
    • Jenkins 2.122
      Pipeline 2.5

      The waitforqualitygate  directive does not work with multiple sonar analysis with withSonarQubeEnv directive in Jenkins pipeline. If there are multiple withSonarQubeEnv directive with corresponding waitforqualitygate directive, the taskid used by all waitforqualitygate is only for the first  withSonarQubeEnv directive. Hence the second or the following waitforqualitygate directive  provides false results which refers to the task id for first withSonarQubeEnv directive not for second or following withSonarQubeEnv directive.

          [JENKINS-51412] waitforqualitygate directive does not work for multiple sonar analysis in pipeline

          Eugene Eugene added a comment -

          When will this bug be fixed?

          Eugene Eugene added a comment - When will this bug be fixed?

          I would also be very interested... Isn't it a bug more than an improvement?

          Nicolas Ducoin added a comment - I would also be very interested... Isn't it a bug more than an improvement?

          Kirk added a comment -

          This issue should be assigned to the https://github.com/jenkinsci/sonarqube-plugin

          Kirk added a comment - This issue should be assigned to the https://github.com/jenkinsci/sonarqube-plugin

            arkanjoms Rafael Ramos
            avijitpal9 Avijit Pal
            Votes:
            2 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated: