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

Extract generic features from AbstractProject/AbstractBuild


    • Icon: New Feature New Feature
    • Resolution: Fixed
    • Icon: Major Major
    • core

      Specialized job types such as are defined in async-job-plugin, branch-api-plugin, or external-monitor-job-plugin do not extend AbstractProject / AbstractBuild because these classes make very specific assumptions about build semantics: that you have a CI job (SCM), an assigned workspace, and so on. Yet without extending those classes you currently have a hard time picking up generic features like

      • parameter definitions
      • trigger definitions
      • manual or REST build causes
      • lazy-loading of runs

      Those features should be decoupled so that they are available à la carte for other Job / Run types.

            jglick Jesse Glick
            jglick Jesse Glick
            0 Vote for this issue
            3 Start watching this issue