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

4 views
Skip to first unread message

avijitpal.1987@gmail.com (JIRA)

unread,
May 18, 2018, 2:35:03 AM5/18/18
to jenkinsc...@googlegroups.com
Avijit Pal created an issue
 
Jenkins / Improvement JENKINS-51412
waitforqualitygate directive does not work for multiple sonar analysis in pipeline
Issue Type: Improvement Improvement
Assignee: Rafael Ramos
Components: sonar-quality-gates-plugin
Created: 2018-05-18 06:34
Environment: Jenkins 2.122
Pipeline 2.5
Priority: Major Major
Reporter: Avijit Pal

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.

Add Comment Add Comment
 
This message was sent by Atlassian JIRA (v7.3.0#73011-sha1:3c73d0e)
Atlassian logo

avijitpal.1987@gmail.com (JIRA)

unread,
May 18, 2018, 2:36:02 AM5/18/18
to jenkinsc...@googlegroups.com
Avijit Pal updated an issue
Change By: Avijit Pal
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.

Shegeka@gmail.com (JIRA)

unread,
Sep 12, 2019, 4:21:03 AM9/12/19
to jenkinsc...@googlegroups.com
This message was sent by Atlassian Jira (v7.13.6#713006-sha1:cc4451f)
Atlassian logo

nicolas.ducoin@softeam.fr (JIRA)

unread,
Sep 19, 2019, 3:35:02 AM9/19/19
to jenkinsc...@googlegroups.com

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

Reply all
Reply to author
Forward
0 new messages