Re: [maven-jenkins-lib] branch master updated: Activate sonarqube on first project

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Re: [maven-jenkins-lib] branch master updated: Activate sonarqube on first project

rfscholte
Already done :)

But contacting the SonarQube Administrator might be interesting too.

On Fri, 28 Dec 2018 13:40:54 +0100, Enrico Olivelli <[hidden email]>  
wrote:

> Robert,
> I think this commit is breaking all of the builds, like this:
> https://builds.apache.org/job/maven-box/job/maven-assembly-plugin/job/MASSEMBLY-901/
>
> [ERROR] Failed to execute goal
> org.sonarsource.scanner.maven:sonar-maven-plugin:3.5.0.1254:sonar
> (default-cli) on project maven-assembly-plugin: You're not authorized
> to execute any SonarQube analysis. Please contact your SonarQube
> administrator. -> [Help 1]
>
> Can we rollback this change ?
> Enrico
>
> Il giorno ven 28 dic 2018 alle ore 12:47 <[hidden email]> ha  
> scritto:
>>
>> This is an automated email from the ASF dual-hosted git repository.
>>
>> rfscholte pushed a commit to branch master
>> in repository https://gitbox.apache.org/repos/asf/maven-jenkins-lib.git
>>
>>
>> The following commit(s) were added to refs/heads/master by this push:
>>      new 852083f  Activate sonarqube on first project
>> 852083f is described below
>>
>> commit 852083f271f8ad153ee6e2c4b40c2d43adbdd5c3
>> Author: rfscholte <[hidden email]>
>> AuthorDate: Fri Dec 28 12:45:30 2018 +0100
>>
>>     Activate sonarqube on first project
>> ---
>>  vars/asfMavenTlpPlgnBuild.groovy | 2 ++
>>  1 file changed, 2 insertions(+)
>>
>> diff --git a/vars/asfMavenTlpPlgnBuild.groovy  
>> b/vars/asfMavenTlpPlgnBuild.groovy
>> index 3c3d212..ca8658c 100644
>> --- a/vars/asfMavenTlpPlgnBuild.groovy
>> +++ b/vars/asfMavenTlpPlgnBuild.groovy
>> @@ -121,6 +121,8 @@ def doCreateTask( os, jdk, maven, tasks, first,  
>> plan, taskContext )
>>    ]
>>    if (!first) {
>>      cmd += '-Dfindbugs.skip=true'
>> +  } else {
>> +    cmd += 'sonar:sonar'
>>    }
>>    if (jdk == '7') {
>>      // Java 7u80 has TLS 1.2 disabled by default: need to explicitely  
>> enable
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [hidden email]
> For additional commands, e-mail: [hidden email]

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]