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

Create image build step fails with Jenkins prior to 1.553

XMLWordPrintable

      The Create image command fails on Jenkins prior to 1.553:

      java.lang.NoSuchMethodError: org.apache.commons.io.FileUtils.getTempDirectoryPath()Ljava/lang/String;

      This can easily be reproduced if you start Jenkins from the docker build step plugin sources with mvn hpi:run, then create and execute a job with a Create image build step.

      docker-java relies on FileUtil.getTempDirectoryPath(), which was introduced in commons-io 2.0.
      The first Jenkins version to ship with commons-io 2.4 is 1.553 (commit).

      Resolution: any of

      • upgrade core dependency to 1.553
      • upgrade core dependency to 1.554.1
      • document the minimum Jenkins version required to run the Create image command

            vjuranek vjuranek
            albers Harald Albers
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: