Vault support in Hudson CI?

If you are having a problem using Vault, post a message here.

Moderator: SourceGear

lbauer
Posts: 9736
Joined: Tue Dec 16, 2003 1:25 pm
Location: SourceGear

Re: Vault support in Hudson CI?

Post by lbauer » Mon Aug 29, 2011 9:01 am

It's still logged as a feature request, but we're not sure when it might be implemented.
Linda Bauer
SourceGear
Technical Support Manager

n14ll3r
Posts: 1
Joined: Thu Mar 15, 2012 6:09 am

Re: Vault support in Hudson CI?

Post by n14ll3r » Thu Mar 15, 2012 6:15 am

Any update on whether Vault will provide a proper plugin for Hudson/Jenkins?

Alternatively a description of how to do it using command line tools would do I guess.

Thanks.

lbauer
Posts: 9736
Joined: Tue Dec 16, 2003 1:25 pm
Location: SourceGear

Re: Vault support in Hudson CI?

Post by lbauer » Thu Mar 15, 2012 1:08 pm

Integration with Hudson is logged as a feature request and I've added your "vote." However we don't have a timeframe as to when it might be implemented.

The best way to get started with the CLC would be to look at the Vault* files we've added to CC.Net:

http://ccnet.cvs.sourceforge.net/viewvc ... cecontrol/

These implement the "clc" based approach.
Linda Bauer
SourceGear
Technical Support Manager

JamesGreen
Posts: 11
Joined: Thu Jun 09, 2011 3:01 am
Location: Sydney, Australia

Re: Vault support in Hudson CI?

Post by JamesGreen » Tue Jan 22, 2013 9:40 pm

Hi Guys,

I have had some limited initial success using the Jenkins Vault plugin:
https://github.com/jenkinsci/vault-scm-plugin

Actually, since the above link at time of writing contains only sources and I don't have the skill or inclination to build a Jenkins plugin today, we are using the binary (.hpi) found on this branch:
https://github.com/rellu/vault-scm-plug ... ter/target

We've been using Vault for ages and use to have a CCNet setup built on duct tape and hope, but that went the way of the dodo. I'm just looking at getting our CI story back on track and Jenkins seems to be what the cool kids are using, and our aged CCNet efforts weren't worth saving. In case it matters we are using Jenkins deployed to a Tomcat 7 server on Windows.

Hope this helps,
James

lbauer
Posts: 9736
Joined: Tue Dec 16, 2003 1:25 pm
Location: SourceGear

Re: Vault support in Hudson CI?

Post by lbauer » Wed Jan 23, 2013 2:33 pm

Thanks for the info!

We'll point users to these links when we get questions about Hudson/Jenkins plugins for Vault.

Regarding CCNET, we do have many users using it, and have updated our CCNET plugin to work with the latest version of CCNET.
Linda Bauer
SourceGear
Technical Support Manager

JamesGreen
Posts: 11
Joined: Thu Jun 09, 2011 3:01 am
Location: Sydney, Australia

Re: Vault support in Hudson CI?

Post by JamesGreen » Wed Jan 23, 2013 6:10 pm

And just to be clear I think the SourceGear CCNet plugin is great, as is CCNet in general. Our problems with it were of our own creation.

I haven't ruled out we may end up back there if the Jenkins plugin turns out to be not up to the task, but for us at the moment a clean break from CCNet is appealing.

Our evaluation of that plugin will continue as our current new project takes root and I will post back to this thread with any gotchas or oddities if and as they arise.

Best regards
James

lbauer
Posts: 9736
Joined: Tue Dec 16, 2003 1:25 pm
Location: SourceGear

Re: Vault support in Hudson CI?

Post by lbauer » Thu Jan 24, 2013 9:13 am

Thanks!
Linda Bauer
SourceGear
Technical Support Manager

BSayatovic
Posts: 47
Joined: Thu Jun 25, 2009 12:02 pm

Re: Vault support in Hudson CI?

Post by BSayatovic » Tue Feb 05, 2013 11:17 am

That's great, James!

FWIW, I built an in-house plugin for Vault and Jenkins. It supports polling and triggering. Behind the scenes, it's using the Vault command line, though I would've much preferred to use the Java class library. My version doesn't support slaves at all.

JamesGreen
Posts: 11
Joined: Thu Jun 09, 2011 3:01 am
Location: Sydney, Australia

Re: Vault support in Hudson CI?

Post by JamesGreen » Fri Jun 14, 2013 1:17 am

Just out of curiosity BSayatovic, how did you find authoring a Jenkins plugin?

In the end we settled on TeamCity which uses the Vault Java client*. Jenkins would have been fine but the decision to go to TeamCity was driven by the NuGet integration. We think Vault + TeamCity + Octopus is the perfect blend for what we need to get done.

(* To minimise insanity, restart the TeamCity service after copying the Vault JARs to the server :-)

lbauer
Posts: 9736
Joined: Tue Dec 16, 2003 1:25 pm
Location: SourceGear

Re: Vault support in Hudson CI?

Post by lbauer » Fri Jun 14, 2013 7:37 am

FYI -- another user, Stewart Whelan, has also authored a Jenkins plugin for Vault:

https://wiki.jenkins-ci.org/display/JEN ... ult+Plugin
Linda Bauer
SourceGear
Technical Support Manager

Post Reply