Jenkins searching for cygwin

75 views
Skip to first unread message

Arvind Kumar

unread,
Nov 2, 2016, 7:43:40 AM11/2/16
to Jenkins Users
Hi,

I have installed jenkins master as unix. 
But i need to run slave as windows where i will build my project using batch script.

Using "launch slave agent via java web start" i have been able to connect windows slave to Jenkins Master runing on unix machine.

But error comes while pulling/cloning the code from mercurial repository.
why it is trying to fine cygwin? 

ERROR: Failed to clone https://hg-vm01.genesyslab.com/htcc
hudson.util.IOException2: Failed to locate Cygwin installation. Is Cygwin installed?

I dont want to to install cygwin due to some issues. Is it possible to do this without cygwinn, if yes how? 

Thanks,
Arvind
jenkins.png

Dirk Heinrichs

unread,
Nov 2, 2016, 8:11:15 AM11/2/16
to jenkins...@googlegroups.com
Am 02.11.2016 um 12:43 schrieb Arvind Kumar:

I dont want to to install cygwin due to some issues. Is it possible to do this without cygwinn, if yes how?

Install TortoiseHG on Windows slave, create a new Mercurial definition for it in Jenkins global configuration and reference that definition in your Windows job.

HTH...

    Dirk
--
Dirk Heinrichs | Senior Systems Engineer, Delivery Pipeline
http://mimage.opentext.com/alt_content/binary/images/email-signature/recommind-ot.png
Tel: +49 2226 159666 (Ansage) 1149
Email: dirk.he...@recommind.com
Skype: dirk.heinrichs.recommind

Recommind GmbH, Von-Liebig-Straße 1, 53359 Rheinbach

Vertretungsberechtigte Geschäftsführer John Marshall Doolittle, Gordon Davies, Roger Illing, Registergericht Amtsgericht Bonn, Registernummer HRB 10646

This e-mail may contain confidential and/or privileged information. If you are not the intended recipient (or have received this e-mail in error) please notify the sender immediately and destroy this e-mail. Any unauthorized copying, disclosure or distribution of the material in this e-mail is strictly forbidden

Diese E-Mail enthält vertrauliche und/oder rechtlich geschützte Informationen. Wenn Sie nicht der richtige Adressat sind oder diese E-Mail irrtümlich erhalten haben, informieren Sie bitte sofort den Absender und vernichten Sie diese Mail. Das unerlaubte Kopieren sowie die unbefugte Weitergabe dieser Mail sind nicht gestattet.

Daniel Beck

unread,
Nov 2, 2016, 8:20:36 AM11/2/16
to jenkins...@googlegroups.com

> On 02.11.2016, at 12:43, Arvind Kumar <arvin...@gmail.com> wrote:
>
> why it is trying to fine cygwin?
>

Did you configure the plugin as described on https://wiki.jenkins-ci.org/display/JENKINS/Mercurial+Plugin ?

Karl Heinz Marbaise

unread,
Nov 2, 2016, 12:33:10 PM11/2/16
to jenkins...@googlegroups.com
Hi,

why not using the Mercurial plugin of Jenkins

https://wiki.jenkins-ci.org/display/JENKINS/Mercurial+Plugin

Kind regards
Karl Heinz Marbaise
On 02/11/16 12:43, Arvind Kumar wrote:
> Hi,
>
> I have installed jenkins master as unix.
> But i need to run slave as windows where i will build my project using
> batch script.
>
> Using "launch slave agent via java web start" i have been able to
> connect windows slave to Jenkins Master runing on unix machine.
>
> But error comes while pulling/cloning the code from mercurial repository.
> why it is trying to fine cygwin?
>
> ERROR: Failed to clone https://hg-vm01.genesyslab.com/htcc
> hudson.util.IOException2
> <http://stacktrace.jenkins-ci.org/search?query=hudson.util.IOException2>: Failed to locate Cygwin installation. Is Cygwin installed?

Arvind Kumar

unread,
Nov 3, 2016, 2:40:08 AM11/3/16
to Jenkins Users, dirk.he...@recommind.com
Hi 
Thanks for the reply.

I am doing that only.
I have attached defnition and job snapshot, FYI. 

I am using mercurial plugin only. 

Regards,
Arvind
definition.png
job.png
Reply all
Reply to author
Forward
0 new messages