-
Bug
-
Resolution: Fixed
-
Minor
-
None
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