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

Tuple index out of range error with string contain braces

    Details

    • Similar Issues:

      Description

      I get 'tuple index out of range' when I use jenkins job builder to create a simple job contain a 'validating-string-parameter' below.

              - validating-string:
                  name: RELEASE_DATE
                  regex: '^[0-9]{4}'
                  msg: 'Bad format of the date - use: YYYY-MM-DD'
      

      Error message

      IndexError: tuple index out of range
      

      I changed regex macro to [0-9][0-9][0-9][0-9] and it didn't get error anymore

        Attachments

          Activity

          caohhung Hung Cao created issue -
          rtyler R. Tyler Croy made changes -
          Field Original Value New Value
          Workflow JNJira [ 170466 ] JNJira + In-Review [ 183911 ]
          Hide
          slide_o_mix Alex Earl added a comment -

          This is a defect in the job builder.

          Show
          slide_o_mix Alex Earl added a comment - This is a defect in the job builder.
          slide_o_mix Alex Earl made changes -
          Status Open [ 1 ] Closed [ 6 ]
          Resolution Not A Defect [ 7 ]

            People

            • Assignee:
              petehayes Peter Hayes
              Reporter:
              caohhung Hung Cao
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: