Need to set BUILD_NUMBER explicitely to null, otherwise this will always fail in a Jenkins build.