A workaround is to have a freestyle job do the sonar analysis and call that 
from the pipeline. I'll see if I can jump in and do some work in the 
SonarQube plugin though.

On Monday, 27 June 2016 21:54:24 UTC+10, Lionel Orellana wrote:
>
> Some work seems to be happening here: 
> https://jira.sonarsource.com/browse/SONARJNKNS-213
>
> Thanks.
>
> On 27 June 2016 at 17:57, Antonio Muñiz <amu...@cloudbees.com> wrote:
>
>> To get a similar UX for SonarQube when using Pipeline, the SonarQube 
>> Jenkins Plugin needs to be adapted to Pipeline (i.e. a `sonar` step that 
>> prepares the environment and execute the analysis using any predefined 
>> goals (with any predefined options).
>>
>> On Mon, Jun 27, 2016 at 9:06 AM, Lionel Orellana <lione...@gmail.com> 
>> wrote:
>>
>>> Hi,
>>>
>>> I have a job where I use the SonarQube plugin option to "Prepare 
>>> SonarQube Scanner environment" and then run the sonar maven goal like this:
>>>
>>> $SONAR_MAVEN_GOAL -Dsonar.host.url=$SONAR_HOST_URL $SONAR_EXTRA_PROPS
>>>
>>> How can I do this in Pipeline? I would image I can Prepare SonarQube 
>>> environment using a step? 
>>>
>>> Thanks
>>>
>>> Lionel.
>>>
>>>
>>> -- 
>>> 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-users+unsubscr...@googlegroups.com.
>>> To view this discussion on the web visit 
>>> https://groups.google.com/d/msgid/jenkinsci-users/79d501b5-bcf6-44ee-953e-1bb2ee0684ac%40googlegroups.com
>>>  
>>> <https://groups.google.com/d/msgid/jenkinsci-users/79d501b5-bcf6-44ee-953e-1bb2ee0684ac%40googlegroups.com?utm_medium=email&utm_source=footer>
>>> .
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>>
>>
>>
>> -- 
>> Antonio Muñiz
>> Software Engineer
>> CloudBees, Inc.
>>
>> -- 
>> You received this message because you are subscribed to a topic in the 
>> Google Groups "Jenkins Users" group.
>> To unsubscribe from this topic, visit 
>> https://groups.google.com/d/topic/jenkinsci-users/vC4XR7bqemY/unsubscribe
>> .
>> To unsubscribe from this group and all its topics, send an email to 
>> jenkinsci-users+unsubscr...@googlegroups.com.
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/jenkinsci-users/CAJc7kzS1P%3DXmK9BW_bAG4-_k7fgkN0s-8U-%2BnZXWSUgfGr5c-Q%40mail.gmail.com
>>  
>> <https://groups.google.com/d/msgid/jenkinsci-users/CAJc7kzS1P%3DXmK9BW_bAG4-_k7fgkN0s-8U-%2BnZXWSUgfGr5c-Q%40mail.gmail.com?utm_medium=email&utm_source=footer>
>> .
>>
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>

-- 
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-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/b44adc31-f99a-4ad3-8582-a5276b3b4d4f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to