-
Bug
-
Resolution: Fixed
-
Major
-
None
This commit (https://github.com/jenkinsci/jenkins/commit/7facc7733c7040536d4074a2c5805b75ee1d8f35#core/src/main/java/hudson/model/AbstractProject.java) makes AbstractProject.removeTrigger and AbstractProject.removeTrigger fail because the old Vector is DescribableList now. "removeTrigger" uses remove(int) and I think it shouldn't do it.
java.lang.UnsupportedOperationException
at java.util.AbstractList.remove(AbstractList.java:161)
at hudson.model.AbstractProject.removeFromList(AbstractProject.java:1646)
at hudson.model.AbstractProject.removeTrigger(AbstractProject.java:1622)
- is related to
-
JENKINS-19051 The configuration slicing crashes whenever I try to change an SCM Timer
-
- Resolved
-
This is quite a frustrating issue. We have all our SCM polling set up to do
*/5 * * * *
but jenkins suggests it would be wiser to change it to
H/5 * * * *
Since this is in ALL our jobs, we wrote a groovy script to change the config based on example provided here:
https://wiki.jenkins-ci.org/display/JENKINS/Change+SCMTrigger+for+each+project+to+disable+during+the+night+and+the+week-end
But impossible to do as removeTrigger fails.
We have 100s of jobs across multiple jenkins instances. Not really practical to change the polling on each one manually.