Open b-pedersen opened 11 years ago
Adding the rootURL in MultiJobBuild/main.jelly fixes the issue for me:
diff --git a/src/main/resources/com/tikal/jenkins/plugins/multijob/MultiJobBuild/main.jelly b/src/main/resources/com/tikal/jenkins/plugins/multijob/MultiJobBuild/main.jelly index d347b07..d42fda0 100644 --- a/src/main/resources/com/tikal/jenkins/plugins/multijob/MultiJobBuild/main.jelly +++ b/src/main/resources/com/tikal/jenkins/plugins/multijob/MultiJobBuild/main.jelly @@ -17,7 +17,7 @@
I'm closing this issue as deprecated. @b-pedersen - please re-open if still relevant
I'm using Jenkins 2.136, running behind an Apache proxy under prefix "/jenkins". When I from the dashboard click on my multijob, i see a list of all the jobs which are part of the multijob, but the links to each of these jobs are incorrect.
For example, the link for one project is: http://localhost:8080/job/my-sub-job/ whereas the correct link should be: http://my.domain.com/jenkins/job/my-sub-job/
I checked out the source, and it appears that all uses of ${builder.url} is prefixed by ${rootURL}/, which means this issue is not fixed by the b-pedersen's comment above.
I'm not familiar with any of the languages this plugin is written in, but please let me know if I can contribute with anything to fix the issue.
Is there any chance that this one will be solved? Experiencing similar issue after running Jenkins over https. The links to subjobs in summary are generated with plain http, not respecting the jenkins setup.
If jenkins is not run on /, but under a prefix, e.g. jenkins the links to the sub-jobs in the job summary page are missing this prefix. The links in the console output are correct.
See also: https://issues.jenkins-ci.org/browse/JENKINS-14955