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

137 views
Skip to first unread message

David Karr

unread,
Aug 12, 2020, 7:27:15 PM8/12/20
to Jenkins Users
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.

Richard Bywater

unread,
Aug 12, 2020, 8:13:50 PM8/12/20
to jenkins...@googlegroups.com

On Thu, 13 Aug 2020 at 11:27, David Karr <davidmic...@gmail.com> 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 jenkinsci-use...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/8b6301de-7d0e-480a-ba35-c1b09f82e130o%40googlegroups.com.

David Karr

unread,
Aug 12, 2020, 8:43:10 PM8/12/20
to Jenkins Users
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 <davidmic...@gmail.com> 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 jenkins...@googlegroups.com.

Richard Bywater

unread,
Aug 12, 2020, 8:57:05 PM8/12/20
to jenkins...@googlegroups.com
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.

To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-use...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/5fa593d9-5a4c-4edb-85a8-081d6950f3efo%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages