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

fix: credential lookup after conversion from username/password #332

Merged
merged 6 commits into from
Dec 9, 2021

Conversation

slide
Copy link
Member

@slide slide commented Dec 9, 2021

Fixes https://issues.jenkins.io/browse/JENKINS-67220

Uses the correct scope (Global) to add credentials on migration and uses the correct DomainRequirements on lookup

  • 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
  • Ensure you have provided tests - that demonstrates feature works or fixes the issue

slide added 6 commits October 22, 2021 05:50
This switches the MailAccount class to use credentials instead of directly storing the username/password. There is an upgrade path from the old settings to using credentials.
Fixes JENKINS-67220 by using the correct scope (Global) and
using DomainRequirements correctly.
…redentials_plugin

# Conflicts:
#	src/main/java/hudson/plugins/emailext/ExtendedEmailPublisherDescriptor.java
#	src/main/java/hudson/plugins/emailext/MailAccount.java
#	src/test/java/hudson/plugins/emailext/ExtendedEmailPublisherDescriptorJCasCTest.java
#	src/test/java/hudson/plugins/emailext/ExtendedEmailPublisherDescriptorTest.java
Copy link
Member

@basil basil left a comment

Choose a reason for hiding this comment

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

Thanks for the PR!

@basil basil merged commit 1c57ea8 into jenkinsci:master Dec 9, 2021
@basil
Copy link
Member

basil commented Dec 9, 2021

Released in 2.86.

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