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

Add support of user macros

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      Examples:

      • @IgnoreCase(ActiveDirectoryUser)
      • ...

        Attachments

          Issue Links

            Activity

            Hide
            boredbeholder Jeremy Cornett added a comment - - edited

            I would like to see user macros as well. I have a use case where I need to have a job for each user in Jenkins. Naturally, you would name the jobs after the user's username. I want to restrict permissions so that a user can only see their own job. Having a macro that can be used inside the pattern field in the role strategy plugin would be very useful to me. Otherwise I have to hard code the username and have a role per user, which is less than ideal and doesn't scale well. I will investigate other options, like having a single set of jobs that just behave different based upon what user is logged in, but I doubt that will work.

            Show
            boredbeholder Jeremy Cornett added a comment - - edited I would like to see user macros as well. I have a use case where I need to have a job for each user in Jenkins. Naturally, you would name the jobs after the user's username. I want to restrict permissions so that a user can only see their own job. Having a macro that can be used inside the pattern field in the role strategy plugin would be very useful to me. Otherwise I have to hard code the username and have a role per user, which is less than ideal and doesn't scale well. I will investigate other options, like having a single set of jobs that just behave different based upon what user is logged in, but I doubt that will work.

              People

              • Assignee:
                Unassigned
                Reporter:
                oleg_nenashev Oleg Nenashev
              • Votes:
                3 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated: