You can achieve the first bit today by writing a Groovy user
plugin<http://wiki.jfrog.org/confluence/display/RTF/User+Plugins>
(part
of Pro) that intercepts the before/afterCreate events and throws a
CancelException that will cause the build to fail. Another option that may
suffice in this case is to revoke the 'delete' permission for the deployer
in order to block overwriting an existing artifact.
In the next release of Artifactory you'll also be able to achieve #2 and #3
via a plugin, since upon deployment you will get the full buildInfo
context<http://wiki.jfrog.org/confluence/display/RTF/Build+Integration#BuildIntegration-GenericBuildInfoView>to
interact with programmatically, so you can apply the logic that
examines
the state of incoming artifacts against the existing ones and fail/pass the
build accordingly.
HTH,
Yoav
On Fri, Mar 2, 2012 at 10:34 AM, Rajwinder Makkar <
[email protected]> wrote:
> Here is the scenario :
>
> - We need development to change ver number of the artifact when the code
> is changed. If artifact checksum differs but ver is same then deploy should
> fail.
> - If a maven build produces 5 artifacts and one of them is modified and 4
> are same then maven deploy should pass.
> - If all the artifacts are same then maven deploy should fail.
>
> We are deploying to artifactory.
>
> Please suggest.
>
> -Raj
>
>
> ------------------------------------------------------------------------------
> Virtualization & Cloud Management Using Capacity Planning
> Cloud computing makes use of virtualization - but cloud computing
> also focuses on allowing computing to be delivered as a service.
> http://www.accelacomm.com/jaw/sfnl/114/51521223/
> _______________________________________________
> Artifactory-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/artifactory-users
>
>
------------------------------------------------------------------------------
Try before you buy = See our experts in action!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-dev2
_______________________________________________
Artifactory-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/artifactory-users