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

Extract generic features from AbstractProject/AbstractBuild

    XMLWordPrintable

Details

    • New Feature
    • Status: Resolved (View Workflow)
    • Major
    • Resolution: Fixed
    • core

    Description

      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.

      Attachments

        Issue Links

          Activity

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

            People

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

              Dates

                Created:
                Updated:
                Resolved: