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

Handle Jenkins publisher case when classes directory is empty #67

Merged
merged 3 commits into from
Feb 25, 2016

Conversation

drwoods
Copy link

@drwoods drwoods commented Jan 29, 2016

This commit adds a try/catch when trying to load the classes content and its empty. Mirrors the approach taken when trying to load exec files which don't exist.
Also, adds a testcase to verify that an empty classes directory is handled, which can happen to the publisher plugin if the build is not producing class files but simply building a war or uber jar from other inputs.

@jenkinsadmin
Copy link
Member

Thank you for this pull request! Please check this document for how the Jenkins project handles pull requests.

centic9 added a commit that referenced this pull request Feb 25, 2016
Handle Jenkins publisher case when classes directory is empty
@centic9 centic9 merged commit 29bcd67 into jenkinsci:master Feb 25, 2016
@centic9
Copy link
Member

centic9 commented Feb 25, 2016

Thanks for the PR!

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.

3 participants