Hi,

TeamCity plugin makes it possible to publish Maven artifacts at the end of
Maven runner build step. But what if there are multiple steps in the build
and I'm interested in Artifactory publishing only when all of them finish,
same way it happens in Jenkins?

In my case I have Release build configuration with 3 steps:

1) Shell run - .m2 cleanup
2) Maven build - artifacts are built
3) Shell run - Maven Central deploy

What happens now is that artifacts are deployed to Artifactory at the end of
step 2 and not at the end of step 3, as I'd prefer, so if Central deploy
shell fails I have Maven binaries deployed to Artifactory that need to be
removed later before the process is re-tried. 

I know I can configure Artifactory deploy in the Shell runner as well but
then it'll work on file patterns, not on Maven artifacts. Are there any
other approaches to this scenario?

May be it can be a checkbox or dropbox in TeamCity configuration of step (2)
saying "Perform at the end of the build/step".

-----
Best regards,
Evgeny
http://evgeny-goldin.com/

--
View this message in context: 
http://forums.jfrog.org/Publishing-Maven-artifacts-at-the-end-of-TeamCity-build-like-in-Jenkins-and-not-build-step-tp7561397.html
Sent from the Artifactory - Users mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Artifactory-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/artifactory-users

Reply via email to