Once a build is completed and installed, we no longer need the build
tree. Deleting the build saves a lot of disk space.
Change-Id: Id986167db4aa43f0a84880616360fbe5c4daad83
JIRA: RELENG-100
Signed-off-by: Stephen Kitt <skitt@redhat.com>
--settings "$SETTINGS_FILE" \
$MAVEN_OPTIONS
cd "${BUILD_DIR}" || exit 1
+ # Since we've installed the artifacts, we can delete the build and save
+ # disk space
+ rm -rf "${PROJECT_SHORTNAME}"
done
if [ "${distribution_status}" == "not_included" ]; then