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

Warnings plugin does not save regexp list of files to ignore

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Critical
    • Resolution: Fixed
    • warnings-plugin
    • None
    • Debian-based Linux x86_64
      Kernel 3.19.0-22-generic
      Java version 1.7.0_79
      Jenkins 1.627 (direct)
      Warnings plugin 4.49
      Google Chrome 5.0.2454.85 m (64-bit)

    Description

      When editing a project in the web ui, anything written in the field for files to ignore is then gone when the configuration view is opened again.
      Also, they are not applied (verified by executing a build and noticing warnings that should be ignored are back again). Plugins were updated this weekend. Everything worked last week.
      Also, by editing the config.xml by hand to get this field back:
      <excludePattern>./EEPROM\.h,./Dns\.cpp,./socket\.cpp,./util\.h,./Servo\.cpp,./Adafruit_NeoPixel\.cpp</excludePattern>
      and then reloading config from disk in Jenkins UI, job is working as expected again. And the patterns are visible when opening the job configuration in the ui, but if the job config is "saved" or "applied" in the web ui, the excludePattern tag is then removed completly from the job config file and the job breaks again.

      Attachments

        Activity

          fallberg Patrick Fallberg created issue -
          drulli Ulli Hafner made changes -
          Field Original Value New Value
          Resolution Fixed [ 1 ]
          Status Open [ 1 ] Resolved [ 5 ]

          That was fast
          Any info on which version this is fixed in?

          fallberg Patrick Fallberg added a comment - That was fast Any info on which version this is fixed in?
          drulli Ulli Hafner added a comment - https://github.com/jenkinsci/warnings-plugin/commits/master

          Excellent!

          fallberg Patrick Fallberg added a comment - Excellent!

          Should I close it, once I get hold of 4.50 and verify it? Or is the workflow different?

          fallberg Patrick Fallberg added a comment - Should I close it, once I get hold of 4.50 and verify it? Or is the workflow different?
          drulli Ulli Hafner added a comment -

          Well, if you find the time, that would be great. But normally nobody has that time so most issues are still just resolved...

          drulli Ulli Hafner added a comment - Well, if you find the time, that would be great. But normally nobody has that time so most issues are still just resolved...

          Of course I will in that case. If you have the time to fix an issue I report. I have the time to follow up on it.
          I will await for it to arrive "the official way" and test it, then I will close this issue if it works as before. If not, I will update the issue accordingly.
          Thanks for the fix!

          fallberg Patrick Fallberg added a comment - Of course I will in that case. If you have the time to fix an issue I report. I have the time to follow up on it. I will await for it to arrive "the official way" and test it, then I will close this issue if it works as before. If not, I will update the issue accordingly. Thanks for the fix!

          I have verified the fix in release 4.50. Thanks!

          fallberg Patrick Fallberg added a comment - I have verified the fix in release 4.50. Thanks!
          fallberg Patrick Fallberg made changes -
          Status Resolved [ 5 ] Closed [ 6 ]
          rtyler R. Tyler Croy made changes -
          Workflow JNJira [ 165427 ] JNJira + In-Review [ 209213 ]

          People

            drulli Ulli Hafner
            fallberg Patrick Fallberg
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: