-
Improvement
-
Resolution: Not A Defect
-
Minor
-
None
-
plugin 1.0.7
Jenkins 1.567
First of all - thanks for the "possible next executions" widget - this was a really good idea.
But:
This widget also shows Job-Generators (see plugin https://wiki.jenkins-ci.org/display/JENKINS/Job+Generator+Plugin)
These jobs are listed in the next execution widget but they will never be executed by SCM-polls.
Please provide a filter like:
if(topLevelItem instanceof AbstractProject && !isGenerator(topLevelItem)){ ... }
where
private boolean isGenerator(TopLevelItem item){ String gn = "org.jenkinsci.plugins.jobgenerator.JobGenerator"; return project.getClass().getQualifiedName().equals(gn) }
or something like that.