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

Shelve project plugin failed to parse timestamp from archive name

XMLWordPrintable

      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)

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

              Created:
              Updated:
              Resolved: