Jobs URL pointing to slave instead of Jenkins master. Is there a way to fix it?

The jobs are listed correctly in the interface but when I click on a job link, I'm redirected to the slave URL instead.

Expected URL destination: http://master-server/jenkins/job/myjob/56 (using nginx reverse proxy)

I got instead: http://myslave-server:8080/job/myjob/56 which doesn't exist (error 404)


1 reply


My bad.

Just reinstalled the jenkins master from scratch and forgot to set the server URL in Jenkins global configuration.

I removed the connection in CatLight, and then recreated it. Now all jobs URL's are working.

Thanks for your work.