I have two folders that will be visible and accessible by different users.
To avoid a pipeline step to trigger a job on the other folder I can't run jobs with the default SYSTEM user.
I need to use Authorize Project plugin to change to run with a specific user.
However, how can I configure a folder and sub-items to run with a specific user?
I can only do that on Global Jenkins level, but I need to override the global definition on this 2 folders.
The ticket here mentions support for multi-branch pipelines, I guess normal folders also apply. Possibly implementing for one will do for the other.
Any progress on this one?
I have a very basic use case requiring this feature:
Store and sync job definitions from scm (GitHub for example) using jobDSL syntax. Currently this seems to be impossible.
For the jobDSL() step to work without forcing an administrator to approve changes manually, you need to run the jobDSL in sandbox mode. Sandbox mode works only when you configure a job to run as a specific user.
Unfortunately the Authorize Project Plugin does not seem to support Multi-Branch pipeline job definition.