-
Improvement
-
Resolution: Unresolved
-
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.