Update plugin to fail the build if the upload fails.