![]() |
|
|
|
|
Change By:
|
Zuzik Zuzikovitch
(07/Feb/13 7:19 PM)
|
|
Description:
|
Problem: After clicking on files links in change logs get: Error: File not found! The requested resource is not available.
Steps: 1. Having a couple projects/branches in OpegGrok build an index
* OpenGrok is available at http://1.2.3.4/source/
2. Set OpenGrok as SCM browser in two Jenkins' jobs (one per branch)
* root1: http://1.2.3.4/source/xref/trunk/ * root2: http://1.2.3.4/source/xref/branchv3/
3. Launch builds, get changes logs, click on a file reference, get the error.
The links looks like: * first job: http://1.2.3.4/source/xref/trunk/xref/%20/src/exmple.java?r%20=%201.4 * second job: http://1.2.3.4/source/xref/branchv3/xref/%20/src/exmple.java?r%20=%201.7
The correct link should be: * first job: http://1.2.3.4/source/xref/trunk/src/exmple.java?r=1.4 * second job: http://1.2.3.4/source/xref/branchv3/src/exmple.java?r=1.4
Additionally, if you click on a file revision you get a broken "diff" link: * http://1.2.3.4/source/xref/branchv3/xref/%20/src/example2.java.diff?r1=1.19&r2=1.19.2.1 where the correct one is: * http://1.2.3.4/source/diff/branchv3/src/example2.java?r2=%2Fbranchv3%2Fsrc%2Fexample2.java%401.19.2.1&r1=%2Fbranchv3%2Fsrc%2Fexample2.java%401.19
Here is an OpenGrok deployment with many project: http://src.opensolaris.org/source/ easy to get examples how URL should look like
Thanks
|
|
|
|
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira
|
--
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to
[email protected].
For more options, visit
https://groups.google.com/groups/opt_out.