Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-49284

Pipeline posts review under wrong category

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      occurred in v. 2.1
      if category is overridden and set before setting postScore, then this value ignored (same situation happens for other score settings and authentication config)

        Attachments

          Activity

          Hide
          scm_issue_link SCM/JIRA link daemon added a comment -

          Code changed in jenkins
          User: Tatiana Didik
          Path:
          pom.xml
          src/main/java/org/jenkinsci/plugins/sonargerrit/SonarToGerritPublisher.java
          src/main/java/org/jenkinsci/plugins/sonargerrit/config/InspectionConfig.java
          src/main/java/org/jenkinsci/plugins/sonargerrit/util/BackCompatibilityHelper.java
          src/test/java/org/jenkinsci/plugins/sonargerrit/signature/BackCompatibilityConfigurationTest.java
          http://jenkins-ci.org/commit/sonar-gerrit-plugin/76a94f866aeba52b081ecb699be1d6c5ee43002f
          Log:
          JENKINS-49172 Snippet generator no longer working; JENKINS-49284 Pipeline posts review under wrong category

          Change-Id: I5014b6d34989c20ebd75aab764399327b233c444

          Show
          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Tatiana Didik Path: pom.xml src/main/java/org/jenkinsci/plugins/sonargerrit/SonarToGerritPublisher.java src/main/java/org/jenkinsci/plugins/sonargerrit/config/InspectionConfig.java src/main/java/org/jenkinsci/plugins/sonargerrit/util/BackCompatibilityHelper.java src/test/java/org/jenkinsci/plugins/sonargerrit/signature/BackCompatibilityConfigurationTest.java http://jenkins-ci.org/commit/sonar-gerrit-plugin/76a94f866aeba52b081ecb699be1d6c5ee43002f Log: JENKINS-49172 Snippet generator no longer working; JENKINS-49284 Pipeline posts review under wrong category Change-Id: I5014b6d34989c20ebd75aab764399327b233c444
          Hide
          aquarellian Tatiana Didik added a comment -

          Quickfix: use the next code template

          sonarToGerrit (
          scoreConfig: [
          issueFilterConfig: [
          severity: 'INFO',
          newIssuesOnly: false,
          changedLinesOnly: false
          ],
          category: 'Pipeline-Verified',
          noIssuesScore: +1,
          issuesScore: -1
          ]
          )

          Show
          aquarellian Tatiana Didik added a comment - Quickfix: use the next code template sonarToGerrit ( scoreConfig: [ issueFilterConfig: [ severity: 'INFO', newIssuesOnly: false, changedLinesOnly: false ], category: 'Pipeline-Verified', noIssuesScore: +1, issuesScore: -1 ] )
          Hide
          aquarellian Tatiana Didik added a comment -

          fixed v2.2

          Show
          aquarellian Tatiana Didik added a comment - fixed v2.2

            People

            Assignee:
            aquarellian Tatiana Didik
            Reporter:
            aquarellian Tatiana Didik
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: