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
    • 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.

            arkanjoms Rafael Ramos
            avijitpal9 Avijit Pal
            2 Vote for this issue
            5 Start watching this issue