Quality Gates Plugin

41 views
Skip to first unread message

Arnaud Héritier

unread,
Jan 29, 2018, 1:40:05 PM1/29/18
to Jenkin...@googlegroups.com, Julien HENRY, Fabrice Bellingard
Hi team,

  Just noticed that in the update center we have 2 similar plugins called quality gates




"quality-gates":{"buildDate":"May 17, 2016","dependencies":[],"developers":[{"developerId":"ivanash","name":"Ivana Shekerova"},{"developerId":"egrozdani","name":"Eleni Grozdani"},{"developerId":"dpd90","name":"Dimitar Pop-Dimitrov"}],"excerpt":"Fails the build whenever the Quality Gates criteria in the Sonar analysis aren't met (the project Quality Gates status is different than \"Passed\")","gav":"org.jenkins-ci.plugins:quality-gates:2.5","labels":[],"name":"quality-gates","previousTimestamp":"2016-04-19T10:36:26.00Z","previousVersion":"2.3","releaseTimestamp":"2016-05-17T12:14:45.00Z","requiredCore":"1.625.3","scm":"https://github.com/jenkinsci/quality-gates-plugin","sha1":"wc9/VZURzbmbASaoeiFHVh7BKo4=","title":"Quality Gates Plugin","url":"http://updates.jenkins-ci.org/download/plugins/quality-gates/2.5/quality-gates.hpi","version":"2.5","wiki":"https://plugins.jenkins.io/quality-gates"}

"sonar-quality-gates":{"buildDate":"Nov 04, 2017","dependencies":[],"developers":[{"developerId":"arkanjoms","email":"arkan...@gmail.com","name":"Rafael Ramos de Oliveira"}],"excerpt":"Fails the build whenever the Quality Gates criteria in the Sonar 5.6+ analysis aren't met (the project Quality Gates status is different than \"Passed\")","gav":"org.jenkins-ci.plugins:sonar-quality-gates:1.1.2","labels":[],"name":"sonar-quality-gates","previousTimestamp":"2017-08-24T15:04:40.00Z","previousVersion":"1.1.1","releaseTimestamp":"2017-11-04T22:32:08.00Z","requiredCore":"2.60.3","scm":"https://github.com/jenkinsci/sonar-quality-gates-plugin","sha1":"IYDNu5b2aZPlNKt3OWoRZw/VBLM=","title":"Sonar Quality Gates Plugin","url":"http://updates.jenkins-ci.org/download/plugins/sonar-quality-gates/1.1.2/sonar-quality-gates.hpi","version":"1.1.2","wiki":"https://plugins.jenkins.io/sonar-quality-gates"}

It seems they are similar and it is confusing


Cheers

--
-----
Arnaud Héritier
Mail/GTalk: aheritier AT gmail DOT com
Twitter/Skype : aheritier

Fabrice Bellingard

unread,
Jan 30, 2018, 5:56:25 AM1/30/18
to Arnaud Héritier, Jenkin...@googlegroups.com, Julien HENRY
Hi Arnaud,

Thanks for pointing this out - even though I guess there's nothing we can really do on our side. 

For the record, the most up-to-date version of our SonarQube Jenkins plugin offers a way to pause a pipeline while waiting for the quality gate to computed by SonarQube (and then it's up to you to decide wether or not you want to stop your pipeline based on what kind of job you're writing). This is how we believe quality gates should be used (waitForQualityGate() + webhook configured in SonarQube), simply because one should not consume an executor just to poll and wait for the quality report to be processed (this is an asynchronous process, so no one knows when the quality gate is available).

Now, because those plugins are developed by other guys, I guess we have no way to clarify the situation since these plugins are out of our scope :-( If you have a suggestion, you're more than welcome :)

Best regards,
Fabrice Bellingard | SonarSource
SonarQube & SonarCloud Product Manager
https://sonarsource.com

On Mon, Jan 29, 2018 at 7:39 PM, Arnaud Héritier <aher...@gmail.com> wrote:
Hi team,

  Just noticed that in the update center we have 2 similar plugins called quality gates




"quality-gates":{"buildDate":"May 17, 2016","dependencies":[],"developers":[{"developerId":"ivanash","name":"Ivana Shekerova"},{"developerId":"egrozdani","name":"Eleni Grozdani"},{"developerId":"dpd90","name":"Dimitar Pop-Dimitrov"}],"excerpt":"Fails the build whenever the Quality Gates criteria in the Sonar analysis aren't met (the project Quality Gates status is different than \"Passed\")","gav":"org.jenkins-ci.plugins:quality-gates:2.5","labels":[],"name":"quality-gates","previousTimestamp":"2016-04-19T10:36:26.00Z","previousVersion":"2.3","releaseTimestamp":"2016-05-17T12:14:45.00Z","requiredCore":"1.625.3","scm":"https://github.com/jenkinsci/quality-gates-plugin","sha1":"wc9/VZURzbmbASaoeiFHVh7BKo4=","title":"Quality Gates Plugin","url":"http://updates.jenkins-ci.org/download/plugins/quality-gates/2.5/quality-gates.hpi","version":"2.5","wiki":"https://plugins.jenkins.io/quality-gates"}

"sonar-quality-gates":{"buildDate":"Nov 04, 2017","dependencies":[],"developers":[{"developerId":"arkanjoms","email":"arkanjo.m...@gmail.com","name":"Rafael Ramos de Oliveira"}],"excerpt":"Fails the build whenever the Quality Gates criteria in the Sonar 5.6+ analysis aren't met (the project Quality Gates status is different than \"Passed\")","gav":"org.jenkins-ci.plugins:sonar-quality-gates:1.1.2","labels":[],"name":"sonar-quality-gates","previousTimestamp":"2017-08-24T15:04:40.00Z","previousVersion":"1.1.1","releaseTimestamp":"2017-11-04T22:32:08.00Z","requiredCore":"2.60.3","scm":"https://github.com/jenkinsci/sonar-quality-gates-plugin","sha1":"IYDNu5b2aZPlNKt3OWoRZw/VBLM=","title":"Sonar Quality Gates Plugin","url":"http://updates.jenkins-ci.org/download/plugins/sonar-quality-gates/1.1.2/sonar-quality-gates.hpi","version":"1.1.2","wiki":"https://plugins.jenkins.io/sonar-quality-gates"}

Jesse Glick

unread,
Jan 30, 2018, 7:55:27 AM1/30/18
to Jenkins Dev
Do not be shy about editing wiki pages for plugins to prominently mention the existence of other plugins covering similar functionality, and giving feature comparisons in a “neutral point of view”.
Reply all
Reply to author
Forward
0 new messages