Hi Raj,
Ideally you are right, artifacts should only be deployed at the end of a
successful build but this is the way Maven handles it.
Because we recognize this as an issue, we distribute our own integration of
Maven that makes sure to deploy all the artifacts at the end of a
successful reactor build and also deploys a
Build-Info<http://wiki.jfrog.org/confluence/display/RTF/Build+Integration>descriptor.
You can use this integration via any one of our build server plugin
(Jenkins, TeamCity or Bamboo), or set it up independent of a build server.
Cheers,
Noam
On Thu, Apr 5, 2012 at 7:58 AM, Rajwinder Makkar <[email protected]>wrote:
> Here is a scenario :
>
> I have one maven project which has sub modules defined in the root pom. So
> maven starts with root pom and then it hits <module> tag and start
> compiling the sub modules. goals i use are
>
> clean deploy.
>
> What is happening here lets say root pom has 5 module and first one gets
> compiled and then deployed to remote maven repo then second one gett
> compiled and get deployed and lets assume it fails on 3rd module. So
> basically althoguh end of the day build fails but still it updates the
> remote maven repo that compiled fine.
>
> Ideally if build fails then it should not deploy any thing.
>
> Is there any feature in artifactory to do this ?
>
> -Raj
>
> ------------------------------------------------------------------------------
> Better than sec? Nothing is better than sec when it comes to
> monitoring Big Data applications. Try Boundary one-second
> resolution app monitoring today. Free.
> http://p.sf.net/sfu/Boundary-dev2dev
> _______________________________________________
> Artifactory-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/artifactory-users
>
>
------------------------------------------------------------------------------
Better than sec? Nothing is better than sec when it comes to
monitoring Big Data applications. Try Boundary one-second
resolution app monitoring today. Free.
http://p.sf.net/sfu/Boundary-dev2dev
_______________________________________________
Artifactory-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/artifactory-users