[HAP-77] Deploying artifacts from Hudson - not deployed when build is "unstable" (failed tests) Created: 25/May/10  Updated: 19/Sep/10  Resolved: 19/Sep/10

Status: Resolved
Project: Jenkins Artifactory Plug-in
Component/s: Maven2
Affects Version/s: 1.3.0
Fix Version/s: 1.3.1

Type: Improvement Priority: Normal
Reporter: Evgeny Goldin Assignee: Yoav Landman
Resolution: Fixed Votes: 2
Labels: None


 Description   

Please, see http://goo.gl/LJJ5: "Deploying artifacts from Hudson - not deployed when build is "unstable" (failed tests)"

We think there can be an option in Hudson to deploy or not deploy artifacts when tests fail



 Comments   
Comment by Emerson Farrugia [ 25/May/10 ]

Why would you want to deploy broken code to Artifactory? Or if the code isn't broken, why are your unit tests failing? Something doesn't add up.

Comment by Evgeny Goldin [ 25/May/10 ]

You're right, but I would like to have a choice of doing or not doing so.
When deploying with maven - I have an option to ignore failed tests and still deploy everything. Sometimes we need it.

Comment by Gregory Boissinot [ 29/May/10 ]

The test step is an optional step in a integration process : we are able to deliver artifacts without tests.
If there are some failed tests , the Hudson job is set to unstable.
And there are also lots of others ways to set an Hudson job to unstable (metrics Hudson plugins).

An option (Deploy even if the build is unstable) is the best way to fix this issue.

Comment by Yves Schumann [ 08/Sep/10 ]

Hi there

Currently we migrate a huge project with lots of modules from build with Ant on CruiseControl to build with Maven on Hudson. So there are already a lot of modules which have failed tests and which will still be in this state for a while. It's impossible to fix all the failed tests at first and not have complete result set so it would be very much appreciated if this feature could be implemented soon.

Anyway, thx a lot for your work and the cool plugin.

Comment by Yossi Shaul [ 13/Sep/10 ]

Similar issue opened at http://issues.hudson-ci.org/browse/HUDSON-5859

Comment by Yossi Shaul [ 13/Sep/10 ]

Works for Maven 2 jobs

Generated at Sat Aug 24 06:49:46 UTC 2019 using JIRA 7.6.3#76005-sha1:8a4e38d34af948780dbf52044e7aafb13a7cae58.