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

Indication placeholder syntax does not show all groups

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      I have a failure log which contains the following lines:

      foo
      
      bar
      
      baz
      

      I have a failure cause indication with the following three indications:

      .*(foo).*
      
      .*(bar).*
      
      .*(baz).*

      I have the following description set for the failure cause:

      FOO: "${1,1}"
      BAR: "${2,1}"
      BAZ: "${3,1}"

      After running a scan, my build shows the following:

      Not all of the placeholders are matched to groups in the indication regexes.

        Attachments

          Activity

          shumphries Stephen Humphries created issue -
          shumphries Stephen Humphries made changes -
          Field Original Value New Value
          Description I have a failed log which contains the following lines:

           
          {code:java}
          foo

          bar

          baz
          {code}
          .

          I have a failure cause indication with the following three indications:

           
          {code:java}
          .*(foo).*

          .*(bar).*

          .*(baz).*
          {code}
           

          .

          I have the following description set for the failure cause:
          {code:java}
          FOO: "${1,1}"
          BAR: "${2,1}"
          BAZ: "${3,1}"{code}
           

          After running a scan, my build shows the following:

          !image-2019-12-02-16-55-14-544.png|width=327,height=130!

          Not all of the placeholders are matched to groups in the indication regexes.
          I have a failure log which contains the following lines:
          {code:java}
          foo

          bar

          baz
          {code}
          I have a failure cause indication with the following three indications:
          {code:java}
          .*(foo).*

          .*(bar).*

          .*(baz).*{code}
          I have the following description set for the failure cause:
          {code:java}
          FOO: "${1,1}"
          BAR: "${2,1}"
          BAZ: "${3,1}"{code}
          After running a scan, my build shows the following:

          !image-2019-12-02-16-55-14-544.png|width=327,height=130!

          Not all of the placeholders are matched to groups in the indication regexes.

            People

            Assignee:
            t_westling Tomas Westling
            Reporter:
            shumphries Stephen Humphries
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

              Dates

              Created:
              Updated: