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

Unable to save changes for settings: "severity", "new issues only", "changed lines only"

    XMLWordPrintable

Details

    Description

      In case if used needs to modify settings from default there is impossible to change fields "severity", "new issues only", "new lines only".
      Steps to reproduce:
      1) go to

      {jenkins url}/job/{job name}/configure
      2) change mentioned above plugin settings (make them different for default values which are: Severity = MAJOR, New issues only = true, New lines only = true);
      3) save changes
      4) return to {jenkins url}

      /job/

      {job name}

      /configure

      ER: saved values should be shown
      AR: default values are shown.

      This bug does not affect plugin execution for fields Severity and Changed Lines Only: saved items are used for execution.
      New lines only used as false regardless of saved value (this also should be fixed).

      Attachments

        Activity

          aquarellian Tatiana Didik added a comment -

          Commit 4e2d25c55d26a6734f0ba09c3802fe164c53af69
          Fixed at 1.0.4

          aquarellian Tatiana Didik added a comment - Commit 4e2d25c55d26a6734f0ba09c3802fe164c53af69 Fixed at 1.0.4

          Code changed in jenkins
          User: Tatiana
          Path:
          src/main/java/org/jenkinsci/plugins/sonargerrit/SonarToGerritBuilder.java
          src/main/java/org/jenkinsci/plugins/sonargerrit/data/entity/Component.java
          src/main/java/org/jenkinsci/plugins/sonargerrit/data/entity/Issue.java
          src/main/java/org/jenkinsci/plugins/sonargerrit/data/entity/Report.java
          src/main/java/org/jenkinsci/plugins/sonargerrit/data/entity/Rule.java
          src/main/resources/messages.properties
          src/main/resources/org/jenkinsci/plugins/sonargerrit/SonarToGerritBuilder/config.jelly
          src/main/resources/org/jenkinsci/plugins/sonargerrit/SonarToGerritBuilder/config.properties
          http://jenkins-ci.org/commit/sonar-gerrit-plugin/2e51279ee51c5f492e9796067479989336157d19
          Log:
          Merge pull request #1 from aquarellian/master

          Fix for JENKINS-31001

          Compare: https://github.com/jenkinsci/sonar-gerrit-plugin/compare/7bf4d6848902...2e51279ee51c

          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Tatiana Path: src/main/java/org/jenkinsci/plugins/sonargerrit/SonarToGerritBuilder.java src/main/java/org/jenkinsci/plugins/sonargerrit/data/entity/Component.java src/main/java/org/jenkinsci/plugins/sonargerrit/data/entity/Issue.java src/main/java/org/jenkinsci/plugins/sonargerrit/data/entity/Report.java src/main/java/org/jenkinsci/plugins/sonargerrit/data/entity/Rule.java src/main/resources/messages.properties src/main/resources/org/jenkinsci/plugins/sonargerrit/SonarToGerritBuilder/config.jelly src/main/resources/org/jenkinsci/plugins/sonargerrit/SonarToGerritBuilder/config.properties http://jenkins-ci.org/commit/sonar-gerrit-plugin/2e51279ee51c5f492e9796067479989336157d19 Log: Merge pull request #1 from aquarellian/master Fix for JENKINS-31001 Compare: https://github.com/jenkinsci/sonar-gerrit-plugin/compare/7bf4d6848902...2e51279ee51c

          Code changed in jenkins
          User: Tatiana Didik
          Path:
          src/main/java/org/jenkinsci/plugins/sonargerrit/SonarToGerritBuilder.java
          src/main/resources/messages.properties
          src/main/resources/org/jenkinsci/plugins/sonargerrit/SonarToGerritBuilder/config.jelly
          http://jenkins-ci.org/commit/sonar-gerrit-plugin/4e2d25c55d26a6734f0ba09c3802fe164c53af69
          Log:
          JENKINS-31001 - Unable to save modified settings

          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Tatiana Didik Path: src/main/java/org/jenkinsci/plugins/sonargerrit/SonarToGerritBuilder.java src/main/resources/messages.properties src/main/resources/org/jenkinsci/plugins/sonargerrit/SonarToGerritBuilder/config.jelly http://jenkins-ci.org/commit/sonar-gerrit-plugin/4e2d25c55d26a6734f0ba09c3802fe164c53af69 Log: JENKINS-31001 - Unable to save modified settings

          People

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

            Dates

              Created:
              Updated:
              Resolved: