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

PCT Docker Image improperly parses ultra-long versions

XMLWordPrintable

      Hit is while testing PCT with Custom WAR Packager:

      Manifest-Version: 1.0
      Hudson-Version: 1.395
      Remoting-Minimum-Supported-Version: 2.60
      Implementation-Version: 256.0-2090468d82e49345519a2457f1d1e7426f01540b
       -2090468d82e49345519a2457f1d1e7426f01540b-SNAPSHOT
      Built-By: nenashev
      Remoting-Embedded-Version: 3.19
      Jenkins-Version: 256.0-2090468d82e49345519a2457f1d1e7426f01540b-209046
       8d82e49345519a2457f1d1e7426f01540b-SNAPSHOT
      Created-By: Apache Maven 3.5.0
      Build-Jdk: 1.8.0_121
      Main-Class: Main
      

      In Docker Image the version is retrieved via "unzip -q -c jenkins.war META-INF/MANIFEST.MF | grep 'Jenkins-Version' ..." so it does not read the version bits after the line break in the manifest

            oleg_nenashev Oleg Nenashev
            oleg_nenashev Oleg Nenashev
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: