Re: NoRouteToHostException when trying to connect to a Jenkins URL API from a pipeline

2019-01-10 Thread SysInt
Thank you all for your help, I'm doing to follow the advice posted and keep you updated. -- 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+unsubs

Re: NoRouteToHostException when trying to connect to a Jenkins URL API from a pipeline

2019-01-09 Thread Ujjawal Khare
Correct... 1. check connectivity with host 2. also make sure what port it uses 3. Go to your jenkins proxy settings, you can paste the url there and check if server is able to connect or not. Regards, UJ On Wed, 9 Jan 2019, 19:45 Jeff Thompson Usually it’s best to verify connectivity and behavi

Re: NoRouteToHostException when trying to connect to a Jenkins URL API from a pipeline

2019-01-09 Thread Jeff Thompson
Usually it’s best to verify connectivity and behavior from outside Jenkins but on the same machines as the first troubleshooting step. If those are fine, then start troubleshooting from inside. Break complex jobs or operations down into small steps to speed attempts and to isolate issues. Good

Re: NoRouteToHostException when trying to connect to a Jenkins URL API from a pipeline

2019-01-09 Thread Jan Monterrubio
Can you ping the Jenkins master from the agent? Are you using a named record or something like “localhost”? On Wed, Jan 9, 2019 at 07:37 SysInt wrote: > Does somebody need further piece of information to help me figure this out > ? > > -- > You received this message because you are subscribed to

Re: NoRouteToHostException when trying to connect to a Jenkins URL API from a pipeline

2019-01-09 Thread SysInt
Does somebody need further piece of information to help me figure this out ? -- 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...@googleg

NoRouteToHostException when trying to connect to a Jenkins URL API from a pipeline

2019-01-08 Thread SysInt
Hello, I am trying to get a piece of information from a previous build with the help of jenkins REST API, however the pipeline always fails when trying to connect to the jenkins API url. Note that when I try to access the URL through an normal script, from outside a pipeline, I get what I want.