Re: How to retrieve JENKINS_URL via script "outside" CI ? Or the hostname of the master ?

2020-02-27 Thread Martin Jost
Ok, "as usual" I found something looking like part of the solution 5 Min later... https://wiki.jenkins.io/display/JENKINS/Remote+access+API Discovering Jenkins on the network Jenkins instances listen on UDP port 33848. Whenever a UDP packet is received, it will respond with a short XML fragment th

How to retrieve JENKINS_URL via script "outside" CI ? Or the hostname of the master ?

2020-02-27 Thread Martin Jost
Hello, our CI system is reachable under different names (by ssh port forwarders running on some machines - background/reason below). So you can access the system as something like http://system1.domain: and http://system2.domain: Actually Jenkins is running e.g. on "system1". Jenkins its