Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[JENKINS-58842] - Trim Jenkins name for Role Session Names to avoid issues with trailing spaces in localizations #69

Merged
merged 2 commits into from
Aug 29, 2019

Conversation

oleg-nenashev
Copy link
Member

@oleg-nenashev oleg-nenashev commented Aug 16, 2019

What could possibly go wrong when one uses a localized field for an AWS request session name? I have no idea why this field is used, maybe somebody overrides the "Jenkins" name in such way. I leave a full fix to the plugin maintainers who know the use-case, just fixing an obvious issue reported in https://issues.jenkins-ci.org/browse/JENKINS-58842

Fixes #67

CC @diegombeltran

@oleg-nenashev
Copy link
Member Author

jenkinsci/jenkins#4145 for the fix on the core side

Copy link
Contributor

@escoem escoem left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

approved but I prefer just "Jenkins" instead of he getDisplayName().trim()

@oleg-nenashev
Copy link
Member Author

@escoem OK, integrated the change

@escoem escoem merged commit 2cf6873 into master Aug 29, 2019
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.

Error assuming IAM role in Jenkins (es_ES)
5 participants