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

XML File pattern for JSLINT is not getting persisted.

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      HI,

      I have Jenkins1.478 and Violations 0.7.10 plugin installed on my build system.

      I jave setup Jslint4Java ant based job for detecting violations in Java scrpit sources. If run the build job it is generating violations xml.(say reports/jslintresults.xml)

      Now in the post build section I have clicked the option violations from project configure page.
      Selected "Pattern" option for XML File pattern field for JSLINT.
      Typed some patter like **/jslint.xml
      Did Save.
      Now if I open the configure page again I'm not able to see the previously typed pattern strings. It is not saving it.

      Because of this violation graph is empty.

      Please provide me the solution to resolve this issue

      Regards,
      Madhu

        Attachments

          Activity

          Hide
          daknin Darrell King added a comment -

          I've created a pull request with a fix for this issue.

          https://github.com/jenkinsci/violations-plugin/pull/27

          Show
          daknin Darrell King added a comment - I've created a pull request with a fix for this issue. https://github.com/jenkinsci/violations-plugin/pull/27
          Hide
          mziemba Michał Ziemba added a comment -

          The same happens for codenarc (jenkins version 1.578)

          Show
          mziemba Michał Ziemba added a comment - The same happens for codenarc (jenkins version 1.578)
          Hide
          daknin Darrell King added a comment -

          It affects all the violation types that have the auto|pattern option. My pull fixes them all.

          Show
          daknin Darrell King added a comment - It affects all the violation types that have the auto|pattern option. My pull fixes them all.
          Hide
          kmarquardsen Kevin Marquardsen added a comment -

          The pull request is way back in Feb, any reason it hasn't been merged in yet?

          Show
          kmarquardsen Kevin Marquardsen added a comment - The pull request is way back in Feb, any reason it hasn't been merged in yet?
          Hide
          scm_issue_link SCM/JIRA link daemon added a comment -

          Code changed in jenkins
          User: Darrell King
          Path:
          src/main/resources/hudson/plugins/violations/ViolationsPublisher/config.jelly
          http://jenkins-ci.org/commit/violations-plugin/32c01194f91e56861f07114b4d8599b9ce094c99
          Log:
          JENKINS-14970: 'pattern' is not being persisted.

          Show
          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Darrell King Path: src/main/resources/hudson/plugins/violations/ViolationsPublisher/config.jelly http://jenkins-ci.org/commit/violations-plugin/32c01194f91e56861f07114b4d8599b9ce094c99 Log: JENKINS-14970 : 'pattern' is not being persisted.
          Hide
          scm_issue_link SCM/JIRA link daemon added a comment -

          Code changed in jenkins
          User: Tomas Bjerre
          Path:
          src/main/resources/hudson/plugins/violations/ViolationsPublisher/config.jelly
          http://jenkins-ci.org/commit/violations-plugin/cabdcf982569fa600c934f370bff9327883d6d8f
          Log:
          Merge branch 'JENKINS-14970' of https://github.com/daknin/violations-plugin

          Show
          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Tomas Bjerre Path: src/main/resources/hudson/plugins/violations/ViolationsPublisher/config.jelly http://jenkins-ci.org/commit/violations-plugin/cabdcf982569fa600c934f370bff9327883d6d8f Log: Merge branch ' JENKINS-14970 ' of https://github.com/daknin/violations-plugin

            People

            • Assignee:
              tomasbjerre Tomas Bjerre
              Reporter:
              madhurg81 Madhu G
            • Votes:
              3 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: