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

NumberFormatException when using CHOICE parameters

XMLWordPrintable

      With a job using CHOICE parameters the parameterised scheduler fails
      java.lang.NumberFormatException: For input string: "STACK=base"
      at java.lang.NumberFormatException.forInputString(NumberFormatException.java:65)
      at java.lang.Integer.parseInt(Integer.java:580)
      at java.lang.Integer.parseInt(Integer.java:615)
      at java.text.MessageFormat.makeFormat(MessageFormat.java:1427)
      Caused: java.lang.IllegalArgumentException: can't parse argument number: STACK=base
      at java.text.MessageFormat.makeFormat(MessageFormat.java:1429)

      The schedule is defined as
      0 0 1 * * % STACK=base; OS_RELEASE=centos7

            Unassigned Unassigned
            rumble Phil Rumble
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: