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

"Run as Specific User" does not work with Pipeline Jobs

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • Icon: Major Major
    • None
    • Jenkins ver. 1.651.21.1 (CloudBees Jenkins Enterprise 16.06)
      Ubuntu 14.04
      Authorize Project 1.2.2
      Pipeline 2.4

      When using a Jenkins Pipeline job and "Configure Build Authorization" is enabled to "Run as Specific Use" and a valid user is filled in, the job is not run as the specified user. It is always run as the user that ran the job.

      When using the same settings, but using a FreeStyle job, the job is run as the specified user. Notably, the line "Running as

      {user name}

      " is showing in the console log.

            jswager1 Jason Swager
            jswager1 Jason Swager
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: