On Fri, 14 Aug 2020 at 18:26, Gilles Sadowski <[email protected]> wrote:

> Hello.
>
> It seems that the migration script could not copy over all the
> necessary information:
> ---CUT---
> [ERROR] Failed to execute goal
> org.sonarsource.scanner.maven:sonar-maven-plugin:3.7.0.1746:sonar
> (default-cli) on project commons-rng-parent: Not authorized. Please
> check the properties sonar.login and sonar.password. -> [Help 1]
> ---CUT---
>
> Full log is here:
>
> https://ci-builds.apache.org/job/Commons/job/commons-rng%20(SonarQube)/2/console
>
> [IIRC, a GitHub account was necessary in order to provide a "security
> token" to SonarQube.]
>

I would guess that the sonar login property is not extracted over the API
in raw form. Thus the migration created the new job with an invalid login.

I generated a new login token on SonarCloud and it works for RNG. I have
put the same token in for geometry, statistics and numbers. I started the
jobs and will check they are OK when they have finished.

Alex

Reply via email to