Re: Unable to access Git Repositories from Jenkins in Ubuntu Virtual Box

2017-10-20 Thread Mark Waite
You'll likely need to check that the DNS resolution inside that virtual machine is able to resolve the hostname of your git server. If the machine can run an agent, then you could create a job which runs a shell script that performs a "ping GITURL" or something similar that will confirm if the DNS

Unable to access Git Repositories from Jenkins in Ubuntu Virtual Box

2017-10-20 Thread chaitanya gollapudi
Hi I am unable to access GIT repositories from Jenkins in Ubuntu Virtual Box. Getting an error "Could not resolve Host: GITURL" Did any body faced this issue? Can you please provide resolution. Thanks Chaitanya -- You received this message because you are subscribed to the Google Groups "

staging with specific agent settings strange behavior

2017-10-20 Thread Dan Tran
Hi I have a multi-stage pipeline using a global docker agent, except at one stage where I need to use none docker agent ( ie a just a pure linux host) and run to this error and look like my stage still inside docker from the previous stage. is it a bug? [Bitbucket] Notifying commit build re

Re: Docker-plugin - ssh connection refused when connecting to slave

2017-10-20 Thread nicolas de loof
thanks for reporting this. Most probably I've only ran tests for various launchers only once :P 2017-10-20 17:05 GMT+02:00 Martin Heg : > Sounds good - if it helps with your analysis I've noticed that first build > after a restart always seems to work fine with the executor being destroyed > corr

Re: Docker-plugin - ssh connection refused when connecting to slave

2017-10-20 Thread Martin Heg
Sounds good - if it helps with your analysis I've noticed that first build after a restart always seems to work fine with the executor being destroyed correctly. Subsequent builds then suffer from the 'offline'/non-terminated executor. Thanks. On 20 October 2017 at 15:59, nicolas de loof wrote:

Re: Docker-plugin - ssh connection refused when connecting to slave

2017-10-20 Thread nicolas de loof
looks like the build termination isn't successfully caught to terminate this node. I'm trying to stabilize the "launch" mechanism in 1.0.x, then will try to address the more general lifecycle for docker agents, being created as a task enter the queue and destroyed on completion. My experiments on o

Re: Docker-plugin - ssh connection refused when connecting to slave

2017-10-20 Thread Martin Heg
Aha - yes I have 'Docker Host URI' set to 'unix:///var/run/docker.sock', but what I was probably missing was to set the 'Docker Hostname' under the Advanced section in the Cloud settings... once I set that to the ip address of the docker host I am having some more success... Now slave containers a

Re: Remote call on JNLP4-connect connection

2017-10-20 Thread Daniel Beck
> On 20. Oct 2017, at 09:08, LnT wrote: > > I use latest java - 1.8.0._144 > Not on the agent that goes oom. -- 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 t

Re: Docker-plugin - ssh connection refused when connecting to slave

2017-10-20 Thread nicolas de loof
issue here is 0.0.0.0 (localhost) from jenkins master is a container, not the docker host, so can't connect to ssh slave. I assume you have master to access docker.sock to run this sibling container ? So master has no way to guess the external IP 2017-10-20 14:51 GMT+02:00 Martin Heg : > What I s

Re: Docker-plugin - ssh connection refused when connecting to slave

2017-10-20 Thread Martin Heg
What I should add once more just to clarify is that the slave container does actually get started (and hence why I am able to try manually ssh-ing into it) - it stays running for a few minutes and then exits. On 20 October 2017 at 13:34, Martin Heg wrote: > Frustrating thing is that I definitel

Re: Docker-plugin - ssh connection refused when connecting to slave

2017-10-20 Thread Martin Heg
Frustrating thing is that I definitely had this same exact setup working previously (jenkins master in docker container spawning slaves in sibling containers), albeit in the context of docker toolbox (boot2docker) running on windows, whereas I am now running against standard docker on linux. On 20

Re: Docker-plugin - ssh connection refused when connecting to slave

2017-10-20 Thread Martin Heg
Yes - jenkins master running in container. >From the docker host I can manually ssh into the slave container with: ssh -p *ephmeral_port* jenkins@0.0.0.0 If I docker exec into the jenkins master I can also ssh into the slave container using the docker host ip: ssh -p *ephmeral_port* jenkins@*hostip

Re: Docker-plugin - ssh connection refused when connecting to slave

2017-10-20 Thread nicolas de loof
Is your jenkins master running in a docker container as well ? stacktrace seems to demonstrate failure to establish a route to 0.0.0.0:32791, even before any SSH authentication attempt 2017-10-20 12:16 GMT+02:00 Martin Heg : > Thanks for your reply Nicolas. Yes I saw that suggestion in one of yo

Re: Docker-plugin - ssh connection refused when connecting to slave

2017-10-20 Thread Martin Heg
Thanks for your reply Nicolas. Yes I saw that suggestion in one of your other posts and have already tried it but still seeing the same issue unfortunately. On 20 October 2017 at 11:11, nicolas de loof wrote: > to use your own SSH credentials you need to disable the "SSH key > management" option

Re: Docker-plugin - ssh connection refused when connecting to slave

2017-10-20 Thread nicolas de loof
to use your own SSH credentials you need to disable the "SSH key management" option (title is unclear) with this option set the container is configured to rely on jenkins master Identity ssh key I'm working on a UI refactoring to avoid such confusing options 2017-10-20 11:38 GMT+02:00 : > Just t

Re: Docker-plugin - ssh connection refused when connecting to slave

2017-10-20 Thread seoladh1
Just to add that the Docker plugin also recognises the slave container as running as shown in this attachment. On Friday, 20 October 2017 10:03:45 UTC+1, seol

Docker-plugin - ssh connection refused when connecting to slave

2017-10-20 Thread seoladh1
Hi, I am getting this error on various versions of Jenkins and the docker-plugin including latest of both. My Jenkins master is running in a container. It successfully launches a docker container for the slave (using the evarga/jenkins-slave image) but then fails to connect with the error below.

how to setup Jenkins shared library using RTC / Team Concert Plugin

2017-10-20 Thread Torsten Reinhard
Hi I´m trying to setup a Pipeline shared library using Rationl Team Concert (RTC, Jazz), I´m using https://wiki.jenkins.io/display/JENKINS/Team+Concert+Plugin The setup seems to be straight-forward, I´ve shared a project to RTC containing the expected structure: src\ vars\myfile.groovy .proje

Re: Remote call on JNLP4-connect connection

2017-10-20 Thread LnT
*After increasing below memory settings - it is not working...* *-Xmx2048m -XX:MaxPermSize=512m* On Tuesday, October 17, 2017 at 9:40:25 PM UTC+5:30, Daniel Beck wrote: > > > On 17. Oct 2017, at 15:46, LnT > > wrote: > > > > java.lang.OutOfMemoryError: PermGen space > > Increase the Pe

Re: Remote call on JNLP4-connect connection

2017-10-20 Thread LnT
Thanks Daniel. I use latest java - 1.8.0._144 On Tuesday, October 17, 2017 at 9:40:25 PM UTC+5:30, Daniel Beck wrote: > > > On 17. Oct 2017, at 15:46, LnT > > wrote: > > > > java.lang.OutOfMemoryError: PermGen space > > Increase the PermGen size (google the error), or just run Jenkins on J