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

Ability to control the Orphaned Item Strategy from Jenkinsfile

    • Icon: Story Story
    • Resolution: Won't Do
    • Icon: Major Major
    • branch-api-plugin
    • Jenkins 1.651.3
      branch-api:1.10
      cloudbees-folder:5.11
      github-branch-source:1.8.1
      github-organization-folder:1.3

      The Orphaned Item Strategy setting in Github Organization projects is globally set for all branches/repos inside the organization. Some of our users want each repo to have different customer settings.

      It would be great to be able to control the strategy from the Jenskinsfile.

      This has already been requested in JENKINS-35251 and JENKINS-33819. The latter has been resolved with an API to set the strategy at the repo/branch level. The strategy is passed down from the Organization Folder to the repositories folders.

          [JENKINS-36809] Ability to control the Orphaned Item Strategy from Jenkinsfile

          Allan BURDAJEWICZ created issue -
          Allan BURDAJEWICZ made changes -
          Priority Original: Minor [ 4 ] New: Major [ 3 ]
          R. Tyler Croy made changes -
          Workflow Original: JNJira [ 173551 ] New: JNJira + In-Review [ 185191 ]
          Jesse Glick made changes -
          Component/s Original: cloudbees-folder-plugin [ 18137 ]
          Component/s Original: github-organization-folder-plugin [ 21427 ]

          Jesse Glick added a comment -

          Probably will not be fixed. No clear place to put configuration like this. Job DSL plugin would be more appropriate.

          Jesse Glick added a comment - Probably will not be fixed. No clear place to put configuration like this. Job DSL plugin would be more appropriate.
          Jesse Glick made changes -
          Resolution New: Won't Do [ 10001 ]
          Status Original: Open [ 1 ] New: Resolved [ 5 ]
          Stephen Connolly made changes -
          Status Original: Resolved [ 5 ] New: Closed [ 6 ]

            stephenconnolly Stephen Connolly
            allan_burdajewicz Allan BURDAJEWICZ
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: