Skip to content

Conversation

@slide
Copy link
Member

@slide slide commented Nov 16, 2022

Adds a new macro that will return the username of the user who initiated the build. If a user did not initiate the build, then "" will be returned.

  • Make sure you are opening from a topic/feature/bugfix branch (right side) and not your main branch!
  • Ensure that the pull request title represents the desired changelog entry
  • Please describe what you did
  • Link to relevant issues in GitHub or Jira
  • Link to relevant pull requests, esp. upstream and downstream changes
  • Ensure you have provided tests - that demonstrates feature works or fixes the issue

@slide slide merged commit d7cc1f2 into jenkinsci:main Nov 17, 2022
@slide slide deleted the build_user_macro branch November 17, 2022 13:43
@basil
Copy link
Member

basil commented Nov 17, 2022

Duplicates functionality of https://plugins.jenkins.io/build-user-vars-plugin/ I suppose?

@slide
Copy link
Member Author

slide commented Nov 17, 2022

Duplicates functionality of https://plugins.jenkins.io/build-user-vars-plugin/ I suppose?

That plugin does not provide tokens, so it may not be usable in all places that token-macro is used.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants