JBDS-3043 - replaces missing test, fixes broken function
Full Publish not wiping out directory before building the output