Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-23397

Filter "possible next executions" with Job-Generators

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Not A Defect
    • Icon: Minor Minor
    • next-executions-plugin
    • 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.

            ialbors Ignacio Albors
            zioschild Sven Appenrodt
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: