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

Shelve project plugin failed to parse timestamp from archive name

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      Hello team,

      While parsing job archive name like "job_name-1522136806296 (2).zip" , the plugin crashes with:

      04:13:14 java.lang.NumberFormatException: For input string: "1522136806296 (2)"
      04:13:14 at java.lang.NumberFormatException.forInputString(NumberFormatException.java:65)
      04:13:14 at java.lang.Long.parseLong(Long.java:441)
      04:13:14 at java.lang.Long.valueOf(Long.java:540)
      04:13:14 at org.jvnet.hudson.plugins.shelveproject.ShelvedProjectsAction.getShelvedProjectFromArchive(ShelvedProjectsAction.java:99)
      04:13:14 at org.jvnet.hudson.plugins.shelveproject.ShelvedProjectsAction.getShelvedProjects(ShelvedProjectsAction.java:74)

        Attachments

          Activity

          xpyct707 Sergey Ryazantsev created issue -
          pierrebtz Pierre Beitz made changes -
          Field Original Value New Value
          Resolution Cannot Reproduce [ 5 ]
          Status Open [ 1 ] Closed [ 6 ]

            People

            Assignee:
            pierrebtz Pierre Beitz
            Reporter:
            xpyct707 Sergey Ryazantsev
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: