CI manifest Validation when using Jenkins with a Windows node

5 views
Skip to first unread message

aaronm

unread,
Aug 13, 2014, 5:37:26 PM8/13/14
to puppet...@googlegroups.com
I'm working on trying to get some validations into my CI process but am hitting a speedbump - Windows....

I use Jenkins to do my builds, and the slave it uses is a Windows server.  This works fine, as Winscp copies the files over to my linux Puppet Master and it sends the files on their merry way.  No problem, as long as I am the only one writing manifests and I make sure to use puppet parser validate and lint to ensure they're right.

But, with the possibility of mistakes, I thought it would be wise to get some sort of double-checking involved.  The basic things I heard about at PuppetCampNYC as well as general conversation on the web appears well-groomed here https://gist.github.com/stephenc/3053561

The only problem is shell scripts and packages that can't be run on Windows.  Do you fellas have any plans on releasing a Windows capable module that can do some of the validation, lint, spec things on Windows build boxes?  Do you know of anything I may not have come across yet?

simple solution - use a linux build box instead of the Windows one (which I'm contemplating)
tougher solution - figure out how it can be done with Windows
wrong solution - don't do it

Thanks,
Aaron
Reply all
Reply to author
Forward
0 new messages