Skip to content
This repository has been archived by the owner on Nov 19, 2024. It is now read-only.

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!

# for free to subscribe to this conversation on GitHub. Already have an account? #.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants