Uploaded image for project: 'Ratis'
  1. Ratis
  2. RATIS-948

Update Sonar statistics only from the apache repo, not from the forks

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • None
    • None
    • None

    Description

      RATIS-940 enabled the Sonar check for all the commits but it doesn't work for forked repositories (unless somebody set an own SONAR_TOKEN).

      The fix is the same as HDDS-2627, we can restrict the execution to the apache repostiroy.

      Thanks to ljain who reported this issue:

      Example failure:

      https://github.com/lokeshj1703/incubator-ratis/runs/716253801

      Note: PRs are not affected as they work well (no sonar check there) only the builds of forked repos.

      Attachments

        Issue Links

          Activity

            People

              elek Marton Elek
              elek Marton Elek
              Votes:
              0 Vote for this issue
              Watchers:
              1 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 - 20m
                  20m