On Sat, Aug 25, 2012 at 6:14 AM, Choon Ming Goh <choonming2...@gmail.com> wrote: > Hi, > > I'm in the middle of setting up jenkins for testing and building our puppet > modules. I'm quite new at this and been trying to make it work the way i > wanted but in reality it doesnt. There are a few issues/questions that I > hope someone in puppetlabs/jenkins can help me with: > > 1. module dependency - how do I build and test modules is dependent on > another module that is being built at the same time using rspec in jenkins. > The good example is rtyler's jenkins module
You'll need (at this point) fixtures for those other modules. Have you tried reading Branan's blog post about getting started module testing? http://puppetlabs.com/blog/the-next-generation-of-puppet-module-testing/ if I remember right there's either an example of fixtures there or a link to a module that at least uses them (seeing code always helps). > > 2. how can I have jenkins to create a tarball of the module and made it > available for download whenever I click on the builds? Go to the 'workspace' of the build. ( at www.myjenkinsserver.com/job/My Job Name/ws ) This will let you click through the artifacts of the build (and gives you the option to download as a zip). You can add a build step after your main tests to create a tarball. You can also look into a publisher plugin to do that for you ( https://wiki.jenkins-ci.org/display/JENKINS/Plugins#Plugins-Artifactuploaders ). HTH, Justin > > This is what I can think of for now and if anyone have an idea please do > help. > > Thanks > > -- > You received this message because you are subscribed to the Google Groups > "Puppet Users" group. > To view this discussion on the web visit > https://groups.google.com/d/msg/puppet-users/-/n1qm-r0y5UAJ. > To post to this group, send email to puppet-users@googlegroups.com. > To unsubscribe from this group, send email to > puppet-users+unsubscr...@googlegroups.com. > For more options, visit this group at > http://groups.google.com/group/puppet-users?hl=en. -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.