-
Bug
-
Resolution: Duplicate
-
Minor
-
Jenkins ver. 2.23
Active Choices Plug-in 1.5.2
I have few job in my Jenkins using Active Choices Parameter. After I open configuration of the job, Active Choices Parameter has active 'Classpath entry' which is empty by default. I use parameter with Groovy Script but I don't use any external libraries then I don't need to setup 'Classpath entry'.
If I try to Save the job, Jenkins returns error:
javax.servlet.ServletException: java.lang.Error: Failed to instantiate class org.jenkinsci.plugins.scriptsecurity.scripts.ClasspathEntry from {"path":""} at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:796) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:876) at
There is work around how to save configuration.
Navigate to section where ‘Active Choices Parameter’ is used and remove ‘Additional Classpath- Classpath entry’ and then it is possible save configuration without error.
Workaround is not difficult but it is annoying drop 'Classpath entry' everytime the configuration is opened because again and again Active Choices Parameter shows empty Classpath Entry.
- duplicates
-
JENKINS-37599 f:repeatable mishandles minimum (was: Custom Groovy Script for Promoted Builds always includes bogus classpath entry)
- Resolved