-
Bug
-
Resolution: Not A Defect
-
Major
-
Jenkins 1.449, Tmp Cleaner Plugin 1.1
After Jenkins update to version 1.449 Jenkins throws java.lang.IllegalArgumentException and does not start.
The problem does not exist until version 1.448.
The issue affects Tmp Cleaner Plugin 1.0 and 1.1 (i've tested those two versions).
Here is the complete logfile entry:
Exception in thread "main" java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at Main._main(Main.java:273)
at Main.main(Main.java:98)
Caused by: java.lang.IllegalArgumentException: Multiple command line argument specified: -Dhudson.plugins.tmpcleaner.TmpCleanWork.extraDirectories=/home/hudson1t/tmp
If i remove this startup option, Jenkins throws the same exception with the parameter hudson.plugins.tmpcleaner.TmpCleanWork.days.