Re: Hudson to Jenkins

2016-07-02 Thread suyog choudhari
Wanted to share my approach of migrating hudson to jenkins. My blog doesn't talk about jenkins setup issues but how I managed to build 100 hudson jobs with just 5 jenkins jobs. http://www.learnteachandlearn.com/2016/07/quick-and-fast-migration-of-hudson-to.html

Re: Does the sh pipeline step not work in windows with cygwin?

2016-07-02 Thread Jonathan Hodgson
No, it's in my path though. And from what I can see it finds cygwin ok, it's the generated shel script it doesn't find. I've avoided setting it in the global configuration because it isn't global, my linux and osx machines have different locations for sh compared to the windows one. On

Re: Does the sh pipeline step not work in windows with cygwin?

2016-07-02 Thread Slide
Did you specify the path to sh on the file system in the shell area in the global configuration? On Sat, Jul 2, 2016 at 12:37 PM Jonathan Hodgson wrote: > Hi, > > I have cygwin installed (and the cygpath plugin), and the slave seems to > find it, but it can't find the

Re: Building containers with Docker in Docker and Jenkins

2016-07-02 Thread Thomas Zoratto
Hi Baptiste, Not sure you can easily mount the docker client binary (you could, back in the day but now there are some required dependencies). > Le 2 juil. 2016 à 22:00, Baptiste Mathus a écrit : > > Worth a read probably: >

Re: Building containers with Docker in Docker and Jenkins

2016-07-02 Thread Baptiste Mathus
Worth a read probably: https://jpetazzo.github.io/2015/09/03/do-not-use-docker-in-docker-for-ci/ from a Docker team member. For your case, might be even simpler to also bind mount the docker client binary in your container. That way you can keep your Dockerfile independent of that. Also, beware

Does the sh pipeline step not work in windows with cygwin?

2016-07-02 Thread Jonathan Hodgson
Hi, I have cygwin installed (and the cygpath plugin), and the slave seems to find it, but it can't find the script that I assume is first generated by the jenkins slave before calling sh. [C:\Jenkins\workspace\pipeline-test] Running shell script sh:

Re: Where do groovy generated temp files go on a windows slave?

2016-07-02 Thread Jonathan Hodgson
Well on further investigation it seems I can write the file using the writeFile step, so this is no longer stopping me from making progress. But I would still like to know where the temp file goes! -- You received this message because you are subscribed to the Google Groups "Jenkins Users"