Status: Open (View Workflow)
Using Hudson v1.352, Hudson SCP publisher plugin v1.6, on Redhat Fedora Core 5
When the SCP publisher fails (for example, because the source file can't be found, or the destination is unwritable, or the credentials are invalid, or the remote host is unavailable), I'd like the entire build to be marked as a failure. Presumably, some folks may want to keep the current behavior (i.e. the build does not fail) so this should probably be configurable per project.
Thanks for your consideration!
Ok, an UNSTABLE build is good enough then – as long as someone gets notified. However, I'm no longer working on a project that uses Hudson, so I can't verify that it actually behaves this way. But I'll take your word for it.
Personally, I never quite understood the concept of an UNSTABLE build. I think the build should succeed completely or not at all. That includes test coverage, static analysis, and any post-build steps. But that's just how I like to configure my builds.
Thanks for your response.
Actually I would also prefer that failure to upload results in a failed build – I was merely stating my observations in the belief that they were different from yours.
Anyway, failed build is better.
For me, scp failing to upload results in UNSTABLE builds. Example can be seen in JENKINS-7419.