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-63146] Use credentials.file.encoding property for passphrase file #585

Merged

Conversation

MarkEWaite
Copy link
Contributor

@MarkEWaite MarkEWaite commented Jul 25, 2020

JENKINS-63146 Honor credentials.file.encoding property for passphrase file

Not consistent with usage in other locations in the plugin that use the ibm.system.encoding Java property rather than an environment variable. Setting an environment variable may be a little easier.

Checklist

  • I have read the CONTRIBUTING doc
  • I have referenced the Jira issue related to my changes in one or more commit messages
  • Unit tests pass locally with my changes
  • I have added documentation as necessary
  • No Javadoc warnings were introduced with my changes
  • No spotbugs warnings were introduced with my changes
  • I have interactively tested my changes (tested by Randall Becker)

Types of changes

  • Bug fix (non-breaking change which fixes an issue)

Further comments

If this is a relatively large or complex change, start the discussion by explaining why you chose the solution you did and what alternatives you considered.

@MarkEWaite MarkEWaite marked this pull request as draft July 30, 2020 12:35
@MarkEWaite MarkEWaite force-pushed the passphrase-charset-honor-env-var branch 2 times, most recently from eb3b015 to 668cd8a Compare August 4, 2020 18:37
@MarkEWaite MarkEWaite marked this pull request as ready for review August 4, 2020 19:20
@MarkEWaite MarkEWaite changed the title [JENKINS-63146] Honor GitSCM.credentials.file.encoding environment variable in passphrase file [JENKINS-63146] Honor credentials.file.encoding variable in passphrase file Aug 4, 2020
@MarkEWaite MarkEWaite changed the title [JENKINS-63146] Honor credentials.file.encoding variable in passphrase file [JENKINS-63146] Honor credentials.file.encoding property for passphrase file Aug 4, 2020
@MarkEWaite MarkEWaite changed the title [JENKINS-63146] Honor credentials.file.encoding property for passphrase file [JENKINS-63146] Use credentials.file.encoding property for passphrase file Aug 4, 2020
…in passphrase file

Intentionally uses a Java property for portability.

Logs the passphrase charset change.

Add credentials.file.encoding docs
@MarkEWaite MarkEWaite force-pushed the passphrase-charset-honor-env-var branch from 668cd8a to 2fc643d Compare August 8, 2020 01:45
@MarkEWaite MarkEWaite merged commit 2962ebb into jenkinsci:master Aug 8, 2020
@MarkEWaite MarkEWaite deleted the passphrase-charset-honor-env-var branch August 8, 2020 22:58
@MarkEWaite MarkEWaite added bug Incorrect or flawed behavior and removed bugfix labels Nov 12, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Incorrect or flawed behavior
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant