Uploaded image for project: 'Tamaya'
  1. Tamaya
  2. TAMAYA-277

Integrate Tamaya with SonarCloud as ASF's Sonarcube is deprecated

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 0.4-incubating
    • Infrastructure
    • None

    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- deprecated! Use SonarCloud instead!

      Target links

      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
      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
      
      

       

      • 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".

      Attachments

        Issue Links

          Activity

            People

              pottlinger Philipp Ottlinger
              o.b.fischer Oliver B. Fischer
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 8h
                  8h