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-59560] Delete empty changelog files to avoid issues in WorkflowRun.onCheckout #37

Merged
merged 2 commits into from Jan 22, 2020

Conversation

dwnusbaum
Copy link
Member

See JENKINS-57918 and JENKINS-59560.

Tries to prevent issues where the SCM does not write anything to the changelog file, not even the headers for an empty XML file, so it doesn't cause problems later on in WorkflowRun.onCheckout.

I haven't had much luck trying to create automated tests in this plugin in the past, but we really need some to prevent regressions like this. We probably shouldn't merge this without any tests.

@dwnusbaum dwnusbaum changed the title Delete empty changelog files to avoid issues in WorkflowRun.onCheckout [JENKINS-57918][JENKINS-59560] Delete empty changelog files to avoid issues in WorkflowRun.onCheckout Jan 16, 2020
@dwnusbaum dwnusbaum changed the title [JENKINS-57918][JENKINS-59560] Delete empty changelog files to avoid issues in WorkflowRun.onCheckout [JENKINS-59560] Delete empty changelog files to avoid issues in WorkflowRun.onCheckout Jan 16, 2020
@dwnusbaum dwnusbaum merged commit 62e2f6c into jenkinsci:master Jan 22, 2020
@dwnusbaum dwnusbaum deleted the empty-changelog-file branch January 22, 2020 22:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants