By default Analysis Results will always get uploaded to Dashboard Server, whether project build steps pass, fail or unstable(if Upload results to Dashboard is selected).
If this option is selected, the Upload will only be performed if the build steps SUCCESS.