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.

          [JENKINS-22131] Extract generic features from AbstractProject/AbstractBuild

          Jesse Glick created issue -
          Jesse Glick made changes -
          Status Original: Open [ 1 ] New: In Progress [ 3 ]
          Jesse Glick made changes -
          SCM/JIRA link daemon made changes -
          Resolution New: Fixed [ 1 ]
          Status Original: In Progress [ 3 ] New: Resolved [ 5 ]
          Jesse Glick made changes -
          Link New: This issue depends on JENKINS-22382 [ JENKINS-22382 ]
          kutzi made changes -
          Link New: This issue is blocking JENKINS-22560 [ JENKINS-22560 ]
          R. Tyler Croy made changes -
          Workflow Original: JNJira [ 154210 ] New: JNJira + In-Review [ 194825 ]

            jglick Jesse Glick
            jglick Jesse Glick
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: