You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by Enrico Olivelli <eo...@gmail.com> on 2018/12/28 12:40:54 UTC

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

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 <rf...@apache.org> 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 <rf...@apache.org>
> 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: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


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

Posted by Robert Scholte <rf...@apache.org>.
Already done :)

But contacting the SonarQube Administrator might be interesting too.

On Fri, 28 Dec 2018 13:40:54 +0100, Enrico Olivelli <eo...@gmail.com>  
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 <rf...@apache.org> 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 <rf...@apache.org>
>> 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: dev-unsubscribe@maven.apache.org
> For additional commands, e-mail: dev-help@maven.apache.org

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org