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.

      Expectation:
      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.

          [JENKINS-34691] Create New item copied from github org branch job should not be allowed

          Ryan Graham created issue -
          R. Tyler Croy made changes -
          Workflow Original: JNJira [ 170866 ] New: JNJira + In-Review [ 184071 ]
          Stephen Connolly made changes -
          Labels New: scm-api-tidy-scrub
          Stephen Connolly made changes -
          Labels Original: scm-api-tidy-scrub New: scm-api-tidy
          Stephen Connolly made changes -
          Remote Link New: This issue links to "core#2782 (Web Link)" [ 15632 ]
          Stephen Connolly made changes -
          Assignee Original: Kohsuke Kawaguchi [ kohsuke ] New: Stephen Connolly [ stephenconnolly ]
          Stephen Connolly made changes -
          Component/s New: branch-api-plugin [ 18621 ]
          Component/s New: core [ 15593 ]
          Component/s Original: github-organization-folder-plugin [ 21427 ]
          Stephen Connolly made changes -
          Status Original: Open [ 1 ] New: In Progress [ 3 ]
          Stephen Connolly made changes -
          Remote Link New: This issue links to "branch-api-plugin#95 (Web Link)" [ 15633 ]
          Stephen Connolly made changes -
          Status Original: In Progress [ 3 ] New: In Review [ 10005 ]
          Daniel Beck made changes -
          Resolution New: Fixed [ 1 ]
          Status Original: In Review [ 10005 ] New: Resolved [ 5 ]

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

              Created:
              Updated:
              Resolved: