-
New Feature
-
Resolution: Done
-
Minor
-
-
675.va_5f27678f6d6
I would like to be able to get the role(s) that I have assigned to a user during build time.
I want to be able to write an if statement in my Jenkinsfile based on the role that a user has.
So for example, user Bob starts a build. When the build commences I can get the role(s) that Bob has to display an optional stage based on his role.
- duplicates
-
JENKINS-41731 Allow the access to the current user's role(s) in the Jenkins 2 pipeline
-
- Resolved
-
[JENKINS-51672] Ability to get a user's role during build
Assignee | Original: Oleg Nenashev [ oleg_nenashev ] |
Labels | New: help-wanted newbie-friendly |
Assignee | New: Jacek Duszenko [ jacek_duszenko ] |
Status | Original: Open [ 1 ] | New: In Progress [ 3 ] |
Link |
New:
This issue duplicates |
Assignee | Original: Jacek Duszenko [ jacek_duszenko ] | New: Markus Winter [ mawinter69 ] |
Released As | New: 675.va_5f27678f6d6 | |
Resolution | New: Done [ 10000 ] | |
Status | Original: In Progress [ 3 ] | New: Resolved [ 5 ] |