-
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.
[JENKINS-51412] waitforqualitygate directive does not work for multiple sonar analysis in pipeline
Description | Original: The waitforqualitygate directive does not work with multiple sonar analysis with withSonarQubeEnv directive. 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. | New: 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. |
Component/s | New: sonar-plugin [ 15523 ] | |
Component/s | Original: sonar-quality-gates-plugin [ 22523 ] |