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

Extension point for marking generated items


      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.

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