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

Extension point for marking generated items

    Details

    • Similar Issues:

      Description

      When using multibranch projects or Job DSL, some Item s (usually Job or AbstractFolder) have a config.xml which is generated by some process and not intended to be editable by the user. This information is not currently available to core or other plugins (backup, etc.); it should be. Suggest something like

      public interface GeneratedItemMarker extends ExtensionPoint {
          boolean isGenerated(Item item);
      }
      

      which would be implemented by job-dsl to to check for GeneratedObjectsAction as here and by branch-api by checking whether the parent is MultiBranchProject or OrganizationFolder.

        Attachments

          Issue Links

            Activity

            jglick Jesse Glick created issue -
            jglick Jesse Glick made changes -
            Field Original Value New Value
            Link This issue relates to JENKINS-32596 [ JENKINS-32596 ]
            jglick Jesse Glick made changes -
            Link This issue relates to JENKINS-37220 [ JENKINS-37220 ]
            jglick Jesse Glick made changes -
            Component/s configuration-as-code-plugin [ 23170 ]
            jglick Jesse Glick made changes -
            Assignee Stephen Connolly [ stephenconnolly ]
            rtyler R. Tyler Croy made changes -
            Labels api essentials api
            jglick Jesse Glick made changes -
            Link This issue relates to JENKINS-12548 [ JENKINS-12548 ]

              People

              • Assignee:
                Unassigned
                Reporter:
                jglick Jesse Glick
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated: