Where is source for the "withSonarQubeEnv" and "waitForQualityGate" pipeline steps?

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

Where is source for the "withSonarQubeEnv" and "waitForQualityGate" pipeline steps?

David Karr
I'm trying to troubleshoot a problem with our integration between Jenkins and our enterprise SonarQube instance. I need to see the source code for the "waitForQualityGate()" pipeline step. Is that available somewhere?

We're using a SonarQube server definition that uses "http:", but the "waitForQualityGate()" step appears to be querying tasks from sonarqube using the "https:" url.  I need to understand why it is doing that.

--
You received this message because you are subscribed to the Google Groups "Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/8b6301de-7d0e-480a-ba35-c1b09f82e130o%40googlegroups.com.
Reply | Threaded
Open this post in threaded view
|

Re: Where is source for the "withSonarQubeEnv" and "waitForQualityGate" pipeline steps?

Richard Bywater-3

On Thu, 13 Aug 2020 at 11:27, David Karr <[hidden email]> wrote:
I'm trying to troubleshoot a problem with our integration between Jenkins and our enterprise SonarQube instance. I need to see the source code for the "waitForQualityGate()" pipeline step. Is that available somewhere?

We're using a SonarQube server definition that uses "http:", but the "waitForQualityGate()" step appears to be querying tasks from sonarqube using the "https:" url.  I need to understand why it is doing that.

--
You received this message because you are subscribed to the Google Groups "Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/8b6301de-7d0e-480a-ba35-c1b09f82e130o%40googlegroups.com.

--
You received this message because you are subscribed to the Google Groups "Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/CAAy0hweeua7ufu3o81zVko_xTjpXq67soVADvm1%3DLkEd5n5f2A%40mail.gmail.com.
Reply | Threaded
Open this post in threaded view
|

Re: Where is source for the "withSonarQubeEnv" and "waitForQualityGate" pipeline steps?

David Karr
Thanks. That's not giving me an obvious answer to my problem. I guess I'll have to post more details in a separate question.

On Wednesday, August 12, 2020 at 5:13:50 PM UTC-7, Richard Bywater wrote:
<a href="https://github.com/jenkinsci/sonarqube-plugin/blob/master/src/main/java/org/sonarsource/scanner/jenkins/pipeline/WaitForQualityGateStep.java" target="_blank" rel="nofollow" onmousedown="this.href=&#39;https://www.google.com/url?q\x3dhttps%3A%2F%2Fgithub.com%2Fjenkinsci%2Fsonarqube-plugin%2Fblob%2Fmaster%2Fsrc%2Fmain%2Fjava%2Forg%2Fsonarsource%2Fscanner%2Fjenkins%2Fpipeline%2FWaitForQualityGateStep.java\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNHD3TdSoIounGXUlWViuhl5W--NYg&#39;;return true;" onclick="this.href=&#39;https://www.google.com/url?q\x3dhttps%3A%2F%2Fgithub.com%2Fjenkinsci%2Fsonarqube-plugin%2Fblob%2Fmaster%2Fsrc%2Fmain%2Fjava%2Forg%2Fsonarsource%2Fscanner%2Fjenkins%2Fpipeline%2FWaitForQualityGateStep.java\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNHD3TdSoIounGXUlWViuhl5W--NYg&#39;;return true;">https://github.com/jenkinsci/sonarqube-plugin/blob/master/src/main/java/org/sonarsource/scanner/jenkins/pipeline/WaitForQualityGateStep.java is probably what you are looking for.

Richard.

On Thu, 13 Aug 2020 at 11:27, David Karr <<a href="javascript:" target="_blank" gdf-obfuscated-mailto="sUlKXKZABQAJ" rel="nofollow" onmousedown="this.href=&#39;javascript:&#39;;return true;" onclick="this.href=&#39;javascript:&#39;;return true;">davidmic...@...> wrote:
I'm trying to troubleshoot a problem with our integration between Jenkins and our enterprise SonarQube instance. I need to see the source code for the "waitForQualityGate()" pipeline step. Is that available somewhere?

We're using a SonarQube server definition that uses "http:", but the "waitForQualityGate()" step appears to be querying tasks from sonarqube using the "https:" url.  I need to understand why it is doing that.

--
You received this message because you are subscribed to the Google Groups "Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to <a href="javascript:" target="_blank" gdf-obfuscated-mailto="sUlKXKZABQAJ" rel="nofollow" onmousedown="this.href=&#39;javascript:&#39;;return true;" onclick="this.href=&#39;javascript:&#39;;return true;">jenkins...@googlegroups.com.
To view this discussion on the web visit <a href="https://groups.google.com/d/msgid/jenkinsci-users/8b6301de-7d0e-480a-ba35-c1b09f82e130o%40googlegroups.com?utm_medium=email&amp;utm_source=footer" target="_blank" rel="nofollow" onmousedown="this.href=&#39;https://groups.google.com/d/msgid/jenkinsci-users/8b6301de-7d0e-480a-ba35-c1b09f82e130o%40googlegroups.com?utm_medium\x3demail\x26utm_source\x3dfooter&#39;;return true;" onclick="this.href=&#39;https://groups.google.com/d/msgid/jenkinsci-users/8b6301de-7d0e-480a-ba35-c1b09f82e130o%40googlegroups.com?utm_medium\x3demail\x26utm_source\x3dfooter&#39;;return true;">https://groups.google.com/d/msgid/jenkinsci-users/8b6301de-7d0e-480a-ba35-c1b09f82e130o%40googlegroups.com.

--
You received this message because you are subscribed to the Google Groups "Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/5fa593d9-5a4c-4edb-85a8-081d6950f3efo%40googlegroups.com.
Reply | Threaded
Open this post in threaded view
|

Re: Where is source for the "withSonarQubeEnv" and "waitForQualityGate" pipeline steps?

Richard Bywater-3
I'm not sure if https://github.com/SonarSource/sonar-scanner-jenkins/pull/123 is relevant or not (it talks about different URLs being used which is kind of your issue but I couldn't really make sense of what it was actually solving :D)

Richard.

On Thu, 13 Aug 2020 at 12:51, David Karr <[hidden email]> wrote:
Thanks. That's not giving me an obvious answer to my problem. I guess I'll have to post more details in a separate question.

On Wednesday, August 12, 2020 at 5:13:50 PM UTC-7, Richard Bywater wrote:

On Thu, 13 Aug 2020 at 11:27, David Karr <[hidden email]> wrote:
I'm trying to troubleshoot a problem with our integration between Jenkins and our enterprise SonarQube instance. I need to see the source code for the "waitForQualityGate()" pipeline step. Is that available somewhere?

We're using a SonarQube server definition that uses "http:", but the "waitForQualityGate()" step appears to be querying tasks from sonarqube using the "https:" url.  I need to understand why it is doing that.

--
You received this message because you are subscribed to the Google Groups "Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/8b6301de-7d0e-480a-ba35-c1b09f82e130o%40googlegroups.com.

--
You received this message because you are subscribed to the Google Groups "Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/5fa593d9-5a4c-4edb-85a8-081d6950f3efo%40googlegroups.com.

--
You received this message because you are subscribed to the Google Groups "Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/CAAy0hwdw-s1Y_57eZr05AYgGyzCwVXHGf2w-Pnwk5bBnGFAAeA%40mail.gmail.com.