| We faced the same issue, and found this in the Jenkins logilfe:
java.lang.ClassCastException: org.jenkinsci.plugins.workflow.job.WorkflowJob cannot be cast to hudson.model.AbstractProject
at org.jenkinsci.lib.xtrigger.AbstractTrigger.run(AbstractTrigger.java:127)
at hudson.triggers.Trigger.checkTriggers(Trigger.java:280)
at hudson.triggers.Trigger$Cron.doRun(Trigger.java:227)
at hudson.triggers.SafeTimerTask.run(SafeTimerTask.java:72)
at jenkins.security.ImpersonatingScheduledExecutorService$1.run(ImpersonatingScheduledExecutorService.java:58)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:308)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:180)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:294)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)
Based on some investigation, I think the solution is to upgrade the xtrigger-lib library to v0.34, and update the Jenkins compliance levels. Testing this during the next days, if success, I'll submit a merge request. |