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

excludeMessage does not work with single quotes

    • Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • Icon: Minor Minor
    • analysis-model
    • None
    • Version 5.0.1

      For an output like this

      [WARNING] 'tools.jar' was not found, kapt may work unreliably
      

      the following exclude Filter does not work
      excludeMessage("'tools.jar' was not found, kapt may work unreliably")

      but this works:
      excludeMessage('was not found, kapt may work unreliably'),

      So there is a problem with single quotes inside filter messages

          [JENKINS-57448] excludeMessage does not work with single quotes

          Ulli Hafner added a comment -

          This probably looks like a problem with the Groovy build script pipeline (" vs. ').

          Ulli Hafner added a comment - This probably looks like a problem with the Groovy build script pipeline (" vs. ').

          Ulli Hafner added a comment - - edited

          Added a test, see commit/ad24232f.

          Ulli Hafner added a comment - - edited Added a test, see commit/ad24232f .

            drulli Ulli Hafner
            reitzmichnicht Michael Düsterhus
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: