Deploy publisher plugin

0 views
Skip to first unread message

Jeff Ward

unread,
Jan 7, 2008, 4:06:32 PM1/7/08
to Vulcan Users
Hi guys. I've just started working with Vulcan, replacing a CC.NET
build system. I'm pretty happy with Vulcan, mostly because of its
simplicity but I do have one question.

Are there any plans to have, say, a Deploy Publisher plugin? If not,
how hard would it be for someone to develop one for themselves?
Basically I want something that will be able to copy files or run a
shell script on a successful build. Any help here?

--
Jeff

Scott W

unread,
Jan 7, 2008, 6:27:43 PM1/7/08
to Vulcan Users
Jeff,

I need to do something just like you're trying to do. I haven't been
able to find a build plugin that does what I want, but I know that
Apache Ant can copy files and execute shell scripts, so I will try
that.

Please let me know if you find/come up with a better solution.

Scott

Chris Eldredge

unread,
Jan 7, 2008, 7:51:12 PM1/7/08
to vulcan...@googlegroups.com
There is no plugin for deploy.  Writing a plugin in Java to do something that can be done with a few lines of markup with your build tool (NAnt or MSBuild, etc) does not seem like the right way to solve the problem.  Especially since you might deploy by copying files, or need to deploy a war, or build and deploy an MSI, etc, etc.

Is there some reason why your build scripts can't do this on their own after your normal targets build successfully?  On my .NET projects, we do automatic deployments if certain properties are set that tell the script where to deploy.  You could set such properties in Vulcan.

Hope that helps.

Chris

Jeff Ward

unread,
Jan 8, 2008, 11:03:33 AM1/8/08
to vulcan...@googlegroups.com
Hey Chris,

I can see your point, and I'd thought about having Ant do the deployment, but in my mind it's a division of labor thing.  I'd rather have the CI tool take care of the post successful build tasks once everything has run correctly than set special variables in the Any script. 

I agree that there shouldn't necessarily be a "deploy" publisher, but a post success publisher, to run a specific Ant task or shell script?

--
Jeff
Reply all
Reply to author
Forward
0 new messages