tamaya-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Philipp Ottlinger (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (TAMAYA-277) Integrate Tamaya with SonarCloud as ASF's Sonarcube is deprecated
Date Mon, 29 Apr 2019 20:24:00 GMT

     [ https://issues.apache.org/jira/browse/TAMAYA-277?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Philipp Ottlinger updated TAMAYA-277:
-------------------------------------
    Description: 
Before closing TAMAYA-12 I had a look at Apache's SonarCube and could not find our projects
there.

Task is to find out why we lost them and if so, to readd them.

Target environment:

[https://builds.apache.org/analysis]
h2. Target links
 * [https://sonarcloud.io/dashboard?id=incubator-tamaya_180410]
 ** apache_incubator-tamaya = project-key
 ** apache = organization key
 ** generate badge in README.md of each project
 * [https://sonarcloud.io/dashboard?id=apache_incubator-tamaya-extensions]
 ** apache_incubator-tamaya-extensions = project-key
 * [https://sonarcloud.io/dashboard?id=apache_incubator-tamaya-sandbox]
 ** apache_incubator-tamaya-sandbox = project-key
 * In order to spot problems with the build file you need to check:
 ** [https://travis-ci.org/apache/incubator-tamaya-sandbox/requests] for each repo/Travis
integration :) 

h2. Links
 * [https://docs.travis-ci.com/user/sonarcloud/] - Integration with Travis/Sonarcloud
 ** does not work as it needs a proper login to encryp tokens ....
 * Run manual analysis: TOKENGOESHERE = manually generated after logging in to sonarcloud.io

{code:java}
mvn sonar:sonar \
  -Dsonar.projectKey=apache_incubator-tamaya \
  -Dsonar.organization=apache \
  -Dsonar.host.url=https://sonarcloud.io \
  -Dsonar.login=TOKENGOESHERE
goes through


 mvn clean org.jacoco:jacoco-maven-plugin:prepare-agent install sonar:sonar \
  -Dsonar.projectKey=apache_incubator-tamaya \
  -Dsonar.organization=apache \
  -Dsonar.host.url=https://sonarcloud.io \
  -Dsonar.login=TOKENGOESHERE

{code}
 
 * (/) Settings in Travis itself - thanks [~acoburn]
 The second approach involves adjusting the settings in the Travis-CI web
 interface: [https://travis-ci.org/apache/incubator-tamaya/settings]
 Under the "Environment Variables" section, you'd need to add an entry with
 the Name set to SONAR_TOKEN and the Value set to the value of the token
 from Sonarcloud. Make sure that "Display value in build log" is set to
 "false".

  was:
Before closing TAMAYA-12 I had a look at Apache's SonarCube and could not find our projects
there.

Task is to find out why we lost them and if so, to readd them.

Target environment:

[https://builds.apache.org/analysis] 
h2. Target links
 * [https://sonarcloud.io/dashboard?id=incubator-tamaya_180410]
 ** apache_incubator-tamaya = project-key
 ** apache = organization key
 ** generate badge in README.md of each project
 * [https://sonarcloud.io/dashboard?id=apache_incubator-tamaya-extensions]
 ** TODO
 * [https://sonarcloud.io/dashboard?id=apache_incubator-tamaya-sandbox]
 ** TODO

 
h2. Links
 * [https://docs.travis-ci.com/user/sonarcloud/] - Integration with Travis/Sonarcloud
 ** does not work as it needs a proper login to encryp tokens ....
 * Run manual analysis: TOKENGOESHERE = manually generated after logging in to sonarcloud.io

{code:java}
mvn sonar:sonar \
  -Dsonar.projectKey=apache_incubator-tamaya \
  -Dsonar.organization=apache \
  -Dsonar.host.url=https://sonarcloud.io \
  -Dsonar.login=TOKENGOESHERE
goes through


 mvn clean org.jacoco:jacoco-maven-plugin:prepare-agent install sonar:sonar \
  -Dsonar.projectKey=apache_incubator-tamaya \
  -Dsonar.organization=apache \
  -Dsonar.host.url=https://sonarcloud.io \
  -Dsonar.login=TOKENGOESHERE

{code}
 
 * (/) Settings in Travis itself - thanks [~acoburn]
The second approach involves adjusting the settings in the Travis-CI web
 interface: [https://travis-ci.org/apache/incubator-tamaya/settings]
 Under the "Environment Variables" section, you'd need to add an entry with
 the Name set to SONAR_TOKEN and the Value set to the value of the token
 from Sonarcloud. Make sure that "Display value in build log" is set to
 "false".


> Integrate Tamaya with SonarCloud as ASF's Sonarcube is deprecated
> -----------------------------------------------------------------
>
>                 Key: TAMAYA-277
>                 URL: https://issues.apache.org/jira/browse/TAMAYA-277
>             Project: Tamaya
>          Issue Type: Improvement
>          Components: Infrastructure
>            Reporter: Oliver B. Fischer
>            Assignee: Philipp Ottlinger
>            Priority: Major
>             Fix For: 0.4-incubating
>
>          Time Spent: 4h 10m
>  Remaining Estimate: 0h
>
> Before closing TAMAYA-12 I had a look at Apache's SonarCube and could not find our projects
there.
> Task is to find out why we lost them and if so, to readd them.
> Target environment:
> [https://builds.apache.org/analysis]
> h2. Target links
>  * [https://sonarcloud.io/dashboard?id=incubator-tamaya_180410]
>  ** apache_incubator-tamaya = project-key
>  ** apache = organization key
>  ** generate badge in README.md of each project
>  * [https://sonarcloud.io/dashboard?id=apache_incubator-tamaya-extensions]
>  ** apache_incubator-tamaya-extensions = project-key
>  * [https://sonarcloud.io/dashboard?id=apache_incubator-tamaya-sandbox]
>  ** apache_incubator-tamaya-sandbox = project-key
>  * In order to spot problems with the build file you need to check:
>  ** [https://travis-ci.org/apache/incubator-tamaya-sandbox/requests] for each repo/Travis
integration :) 
> h2. Links
>  * [https://docs.travis-ci.com/user/sonarcloud/] - Integration with Travis/Sonarcloud
>  ** does not work as it needs a proper login to encryp tokens ....
>  * Run manual analysis: TOKENGOESHERE = manually generated after logging in to sonarcloud.io
> {code:java}
> mvn sonar:sonar \
>   -Dsonar.projectKey=apache_incubator-tamaya \
>   -Dsonar.organization=apache \
>   -Dsonar.host.url=https://sonarcloud.io \
>   -Dsonar.login=TOKENGOESHERE
> goes through
>  mvn clean org.jacoco:jacoco-maven-plugin:prepare-agent install sonar:sonar \
>   -Dsonar.projectKey=apache_incubator-tamaya \
>   -Dsonar.organization=apache \
>   -Dsonar.host.url=https://sonarcloud.io \
>   -Dsonar.login=TOKENGOESHERE
> {code}
>  
>  * (/) Settings in Travis itself - thanks [~acoburn]
>  The second approach involves adjusting the settings in the Travis-CI web
>  interface: [https://travis-ci.org/apache/incubator-tamaya/settings]
>  Under the "Environment Variables" section, you'd need to add an entry with
>  the Name set to SONAR_TOKEN and the Value set to the value of the token
>  from Sonarcloud. Make sure that "Display value in build log" is set to
>  "false".



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Mime
View raw message