-
Improvement
-
Resolution: Fixed
-
Major
-
None
-
Platform: All, OS: All
If a job fails its artifacts are not saved by hudosn. I think this is the
intended behavior for building some kind of software.
We use use hudson to run tests and those jobs produce log files which we need if
a test has failed. Currently I have to dig into the workspace view in order to
find logs of a failed test. It would be better if hudson would collect the
artifacts of such a failed build and show these on the "Build artifacts" page.
In the job configuration page, under "Post-build Actions" > "Archive the
artifacts" > "Advanced..." could be a switch labelled "Archive artifacts even if
build failed".
Artifact archiver has no such logic in it. It will archive artifacts regardless
of whether the build failed or succeeded.
Maybe you are complaining about the "last successful artifacts" link in the
project top page — perhaps you are saying that you want this to be just "last
artifacts" in your case?