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

Unable to copy job when running as 'SYSTEM'

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Fix
    • Icon: Major Major
    • jobcopy-builder-plugin
    • None
    • Jenkins = 2.15
      Authorize Project = 1.2.2
      Job Copy = 1.4.0
      Role Strategy = 2.3.2

      I use the Role Strategy plugin to give regular users limited permissions (mostly just to trigger builds). I use the Copy Job build step to essentially allow users to create jobs from a template.

      Since I don't want to give regular users the permission to create jobs, I used the "Authorize Project" plugin to run the "create from template" job as SYSTEM. However, when running the "create from template" job, it fails saying it can't find the source job: Error: Item '*JOB_NAME* 'was not found.

      I would think if I'm telling the job to run as SYSTEM, it should have the ability to copy jobs.

            krische Brian Krische
            krische Brian Krische
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: