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

Create New item copied from github org branch job should not be allowed


    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • branch-api-plugin, core
    • Jenkins v2.0
      GitHub Organization Folder Plugin v1.3
      GitHub Branch Source Plugin v1.6
      Pipeline: Multibranch v2.3
      Pipeline: Job v2.1

      Actions taken:
      When creating a new item, if one creates that job as a copy of an existing branch, the resulting job is not editable or deletable. There is no way that I can see to edit or delete the newly created job.

      Use Case:
      The reason one might want to do this is to turn a given branch build into a recurring task. What I thought was the obvious solution was to create a new item coped from the existing one, with the intention of adding in a schedule trigger.

      Ideally, this would just work, but as a stop-gap it should probably have been prevented from happening in the first place by filtering out such immutable/generated jobs as copy-from candidates.

            stephenconnolly Stephen Connolly
            rmgraham Ryan Graham
            0 Vote for this issue
            4 Start watching this issue