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-66205] Correctly set SMTP port #302

Merged
merged 1 commit into from
Aug 4, 2021
Merged

[JENKINS-66205] Correctly set SMTP port #302

merged 1 commit into from
Aug 4, 2021

Conversation

wwuck
Copy link
Contributor

@wwuck wwuck commented Jul 28, 2021

  • 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

- Set the SMTP port correctly using the suggested fix from JENKINS-66205
@wwuck
Copy link
Contributor Author

wwuck commented Jul 28, 2021

@basil Does this need any changes/additions to tests? My Java skills are a bit lacking here, so assistance/guidance on that would be welcomed.

@basil
Copy link
Member

basil commented Jul 28, 2021

Thanks for the PR! I left some instructions about how to test the incremental build in JENKINS-66205 (comment). Ideally the reporter of the issue can verify that the incremental build works.

As for the tests, it would be good to add new tests for this, but given the nature of the issue that's discussed in the linked ticket, I can understand that it may not be straightforward. There are no existing tests of this kind in Email Extension. We do have plugins that do sophisticated integration testing using Testcontainers (e.g. Jenkins LDAP Plugin), but writing such tests is a more significant undertaking. If the reporter of the issue can verify that the incremental build works, that would certainly be good enough to merge this PR.

@wwuck
Copy link
Contributor Author

wwuck commented Jul 28, 2021

Thanks. I did a quick test here with the incremental build and it still works for my jenkins sending to google smtp relay over TLS.

@basil basil merged commit 1cc1ef3 into jenkinsci:master Aug 4, 2021
@basil
Copy link
Member

basil commented Oct 15, 2021

Released in 2.84.

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