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
https://github.com/suyogchoudhari/jenkins

On Monday, 14 May 2012 03:45:29 UTC-7, arvind wrote:
>
> We are planning to migrate our current Hudson 2.2 ver to Jenkins 1.463 
> ver . In the migration document(https://wiki.jenkins-ci.org/display/ 
> JENKINS/Upgrading+from+Hudson+to+Jenkins#UpgradingfromHudsontoJenkins- 
> 
>  
> IfyouarethinkingaboutupgradingtoJenkinsbutnotreadytodosonow) , its 
> mentioned that migration is only supported for version 1.395 and 
> below . 
>
> Is there any other way though which we can get this migrated from 2.2 
> version of hudson ? 
>
> Thanks! 
>

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/80eff09a-c6f3-4cdd-a940-d5b238acff3a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


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 Saturday, July 2, 2016 at 11:50:38 PM UTC+1, slide wrote:
>
> 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 script that I assume is first generated by 
>> the jenkins slave before calling sh.
>>
>> [C:\Jenkins\workspace\pipeline-test] Running shell script
>> sh: C:\Jenkins\workspace\pipeline-test@tmp\durable-313cd6e7\script.sh: 
>> command not found
>>
>>
>> Is this something that anybody has working?
>>
>>
>>
>> -- 
>> You received this message because you are subscribed to the Google Groups 
>> "Jenkins Users" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to jenkinsci-use...@googlegroups.com .
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/jenkinsci-users/6ca18674-19a0-4681-ba28-64ed9f24a7b1%40googlegroups.com
>>  
>> 
>> .
>> For more options, visit https://groups.google.com/d/optout.
>>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/053f076f-dde0-45a6-8793-c873c7fa8e2b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


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 script that I assume is first generated by
> the jenkins slave before calling sh.
>
> [C:\Jenkins\workspace\pipeline-test] Running shell script
> sh: C:\Jenkins\workspace\pipeline-test@tmp\durable-313cd6e7\script.sh: 
> command not found
>
>
> Is this something that anybody has working?
>
>
>
> --
> You received this message because you are subscribed to the Google Groups
> "Jenkins Users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to jenkinsci-users+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/jenkinsci-users/6ca18674-19a0-4681-ba28-64ed9f24a7b1%40googlegroups.com
> 
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/CAPiUgVf88kT7O9BRmphLGO0hF3trwf887aFf3yqDCYF0nA1d%3DQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


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: 
> 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 that using bind mounts for data is generally not recommended. 
> Better use a named volume (since data volume containers are somehow now 
> deprecated).
> 
> Cheers
> 
> Just wanted to share some of my experiences with building Docker containers 
> using a dockerized Jenkins setup. For people like me who are running simple 
> Jenkins setup on their home hardware this might be interesting to read: 
> https://renzedevries.wordpress.com/2016/06/30/building-containers-with-docker-in-docker-and-jenkins/
>  
> 
> 
> Look forward to hearing some feedback on this and if other people are having 
> similar setups. There is not a lot of information on this subject, but I do 
> see a huge potential for a mobile Jenkins docker solution, where you can run 
> your CI anywhere, specially given the new Jenkins pipelines this becomes very 
> interesting, just deploy the Jenkins container and go.
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "Jenkins Users" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to jenkinsci-users+unsubscr...@googlegroups.com 
> .
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/jenkinsci-users/ff8b6639-ff66-46e2-8617-a3d6d02a9511%40googlegroups.com
>  
> .
> For more options, visit https://groups.google.com/d/optout 
> .
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "Jenkins Users" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to jenkinsci-users+unsubscr...@googlegroups.com 
> .
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/jenkinsci-users/CANWgJS7XYJ4%3DgaVkt3FFV1LLMqckKtXRg0NX1XuHL%3D8Uc1hMrA%40mail.gmail.com
>  
> .
> For more options, visit https://groups.google.com/d/optout 
> .

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/C9B6B91B-6968-4C16-8BE0-03A68041A0CE%40gmail.com.
For more options, visit https://groups.google.com/d/optout.


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 that using bind mounts for data is generally not recommended.
Better use a named volume (since data volume containers are somehow now
deprecated).

Cheers
Just wanted to share some of my experiences with building Docker containers
using a dockerized Jenkins setup. For people like me who are running simple
Jenkins setup on their home hardware this might be interesting to read:
https://renzedevries.wordpress.com/2016/06/30/building-containers-with-docker-in-docker-and-jenkins/

Look forward to hearing some feedback on this and if other people are
having similar setups. There is not a lot of information on this subject,
but I do see a huge potential for a mobile Jenkins docker solution, where
you can run your CI anywhere, specially given the new Jenkins pipelines
this becomes very interesting, just deploy the Jenkins container and go.

-- 
You received this message because you are subscribed to the Google Groups
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to jenkinsci-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/jenkinsci-users/ff8b6639-ff66-46e2-8617-a3d6d02a9511%40googlegroups.com

.
For more options, visit https://groups.google.com/d/optout.

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/CANWgJS7XYJ4%3DgaVkt3FFV1LLMqckKtXRg0NX1XuHL%3D8Uc1hMrA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


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: C:\Jenkins\workspace\pipeline-test@tmp\durable-313cd6e7\script.sh: command 
not found


Is this something that anybody has working?



-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/6ca18674-19a0-4681-ba28-64ed9f24a7b1%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Jenkins World 2016 ] Get 20% OFF

2016-07-02 Thread Kanstantsin Shautsou
Sorry, but that's smells like a spam.

On Friday, July 1, 2016 at 10:34:17 PM UTC+3, alytong13 wrote:
>
> [image: Inline image 1]
>
> *Go ALL IN and join us at Jenkins World 2016 
> , September 13 - 15, 
> 2016.* 
>
> Hello,
>
> Today is the last day to take advantage of early bird discount price, 
> $399. This discounted price will be *ending tonight (Friday, July 1) at 
> 11:59pm PDT.* 
>
> Starting today, you can get 20% off your registration, just use code: JWATONG 
> during registration 
> 
> .
>
> Not sure why you should attend?
>
>- 
>
>50+ sessions  from organizations 
>such as: Electronic Arts, FINRA, GerritForge, Google, NPR, Riot Games, 
>Shutterfly, Splunk and Verizon.
>- 
>
>Keynotes from Kohsuke Kawaguchi, Sacha Labourey and Gary Gruver.
>- 
>
>Free Jenkins and CloudBees Jenkins Platform certification exams 
>.
>- Network with the LARGEST gathering of Jenkins users in the world.
>
> See you in September!
>
> alyssa
>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/066975a4-4706-42a1-ab80-d4af29499a63%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


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" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/2a9484cd-7c8d-4b98-8172-75585aba6682%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.