> On 8. Sep 2017, at 23:45, nup <[email protected]> wrote:
> 
> I have tried all of the various different steps, but I still get following 
> same error "Unable to get SonarQube task id and/or server name. Please use 
> the 'withSonarQubeEnv' wrapper to run your analysis."
> 

It's a wrapper, so try something like this:

withSonarQubeEnv('http:myserver') {
    def qualitygate = waitForQualityGate()
    …
}

-- 
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/E6F2A57A-E083-4FD8-8A44-0AA55C8B19D7%40beckweb.net.
For more options, visit https://groups.google.com/d/optout.

Reply via email to