INFRA added our project to sonarcloud. I have modified Jenkinsfile
according to instruction, but it looks like it's not being used. I don't
see any log from that file in console build. Anyone know why ? In PLC4X
project I see in console log [1] all echo messages from Jenkinsfile our
project doesn't seems to be using it.

[1] https://builds.apache.org/job/PLC4X/job/PLC4X/job/develop/592/

Thanks,
Piotr

czw., 5 gru 2019 o 16:38 Piotr Zarzycki <[email protected]>
napisał(a):

> Ok deeper search brings me to information that I need to create Infra
> ticket [1] and some instruction [2]
>
> [1] https://issues.apache.org/jira/browse/INFRA-19529
> [2] https://cwiki.apache.org/confluence/display/INFRA/SonarQube+Analysis
>
> Thanks,
> Piotr
>
> czw., 5 gru 2019 o 16:09 Piotr Zarzycki <[email protected]>
> napisał(a):
>
>> I looked into our project or actually all of 3 repositories and there was
>> absolutely 0 line of code where sonar was involved. I jump into
>> configuration on Jenkins and looks like we have been just use "mvn-U clean
>> deploy sonar:sonar" command.
>>
>> I checked plc4x and actually I don't know what is running sonarcloud. It
>> looks like to me that all the stuff is inside Jenkins file [1], but is it
>> all? I will try to find Apache official announcement in the archive about
>> sonar and see whether they provide instructions how to migrate stuff. In
>> the meantime I have removed sonar:sonar option from build.
>>
>> [1]
>> https://github.com/apache/plc4x/blob/4bb44c252464e9db4fc51264f0c40fd09bf41e04/Jenkinsfile
>>
>> śr., 4 gru 2019 o 19:59 Piotr Zarzycki <[email protected]>
>> napisał(a):
>>
>>> There is some kind of magic there which I don't understand fully but
>>> maybe I will be able to do something with this. Not sure ;)
>>>
>>> śr., 4 gru 2019 o 19:54 Carlos Rovira <[email protected]>
>>> napisał(a):
>>>
>>>> Hi Piotr,
>>>> great you got it :)
>>>> I really don't take a look, just share what Chris told me, so I'll need
>>>> to
>>>> dig same as you :)
>>>>
>>>> El mié., 4 dic. 2019 a las 17:44, Piotr Zarzycki (<
>>>> [email protected]>)
>>>> escribió:
>>>>
>>>> > Ok I searched repository and there are some references.
>>>> >
>>>> > śr., 4 gru 2019 o 17:38 Piotr Zarzycki <[email protected]>
>>>> > napisał(a):
>>>> >
>>>> > > Hi Carlos,
>>>> > >
>>>> > > Thanks for information. To which pom file in plc4x project I should
>>>> look
>>>> > > to get proper configuration for Sonar ?
>>>> > >
>>>> > > Thanks,
>>>> > > Piotr
>>>> > >
>>>> > > śr., 4 gru 2019 o 17:35 Carlos Rovira <[email protected]>
>>>> > > napisał(a):
>>>> > >
>>>> > >> Hi Piotr.
>>>> > >>
>>>> > >> Infra has turned off sonarqube.
>>>> > >> This was announced multiple times over several months.
>>>> > >> We have to switch to sonarcloud or remove it.
>>>> > >>
>>>> > >> Chris Dutz told me that we can check how he did in plc4x project.
>>>> > >>
>>>> > >> Thanks
>>>> > >>
>>>> > >>
>>>> > >> El mié., 4 dic. 2019 a las 10:10, Piotr Zarzycki (<
>>>> > >> [email protected]>)
>>>> > >> escribió:
>>>> > >>
>>>> > >> > Hi Guys,
>>>> > >> >
>>>> > >> > I've been switching machines to check build but it's failing
>>>> > >> constantly. It
>>>> > >> > looks like we need to contact with infra ? What do you think?
>>>> > >> >
>>>> > >> > [ERROR] Failed to execute goal
>>>> > >> > org.sonarsource.scanner.maven:sonar-maven-plugin:3.7.0.1746:sonar
>>>> > >> > (default-cli) on project royale-compiler-parent: Unable to
>>>> execute
>>>> > >> > SonarQube: Fail to get bootstrap index from server: Failed to
>>>> connect
>>>> > >> > to localhost/0:0:0:0:0:0:0:1:9000: Connection refused: connect ->
>>>> > >> > [Help 1]
>>>> > >> >
>>>> > >> >
>>>> > >> > śr., 4 gru 2019 o 08:52 Apache Jenkins Server <
>>>> > >> [email protected]>
>>>> > >> > napisał(a):
>>>> > >> >
>>>> > >> > > The Apache Jenkins build system has built Royale-compiler
>>>> (build
>>>> > >> #1182)
>>>> > >> > >
>>>> > >> > > Status: Still Failing
>>>> > >> > >
>>>> > >> > > Check console output at
>>>> > >> > > https://builds.apache.org/job/Royale-compiler/1182/ to view
>>>> the
>>>> > >> results.
>>>> > >> >
>>>> > >> >
>>>> > >> >
>>>> > >> > --
>>>> > >> >
>>>> > >> > Piotr Zarzycki
>>>> > >> >
>>>> > >> > Patreon: *https://www.patreon.com/piotrzarzycki
>>>> > >> > <https://www.patreon.com/piotrzarzycki>*
>>>> > >> >
>>>> > >>
>>>> > >>
>>>> > >> --
>>>> > >> Carlos Rovira
>>>> > >> http://about.me/carlosrovira
>>>> > >>
>>>> > >
>>>> > >
>>>> > > --
>>>> > >
>>>> > > Piotr Zarzycki
>>>> > >
>>>> > > Patreon: *https://www.patreon.com/piotrzarzycki
>>>> > > <https://www.patreon.com/piotrzarzycki>*
>>>> > >
>>>> >
>>>> >
>>>> > --
>>>> >
>>>> > Piotr Zarzycki
>>>> >
>>>> > Patreon: *https://www.patreon.com/piotrzarzycki
>>>> > <https://www.patreon.com/piotrzarzycki>*
>>>> >
>>>>
>>>>
>>>> --
>>>> Carlos Rovira
>>>> http://about.me/carlosrovira
>>>>
>>>
>>>
>>> --
>>>
>>> Piotr Zarzycki
>>>
>>> Patreon: *https://www.patreon.com/piotrzarzycki
>>> <https://www.patreon.com/piotrzarzycki>*
>>>
>>
>>
>> --
>>
>> Piotr Zarzycki
>>
>> Patreon: *https://www.patreon.com/piotrzarzycki
>> <https://www.patreon.com/piotrzarzycki>*
>>
>
>
> --
>
> Piotr Zarzycki
>
> Patreon: *https://www.patreon.com/piotrzarzycki
> <https://www.patreon.com/piotrzarzycki>*
>


-- 

Piotr Zarzycki

Patreon: *https://www.patreon.com/piotrzarzycki
<https://www.patreon.com/piotrzarzycki>*

Reply via email to