issue fixed only partially
This bug still occurs in the running build console.
It seems to be fixed only for the archived console output.
If I look in the console of a still running build, I can see ant targets twice in the outline, even if they exist only once.
Clicking each first one jumps on the second one in the outline instead of to the console.
Clicking each second one jumps to the first one in the console, even if a second one exists.
This happens also if the build is finished, but the console was opened before finishing.
If I open the console of the same build again after finishing, links work fine and the build targets that only exist once also only appear once in the outline.
Environment: Firefox 3.6, Hudson 1.369 running as a service in Windows XP.
Code changed in hudson
User: : mindless
Path:
trunk/hudson/main/core/src/main/resources/hudson/tasks/_ant/AntTargetNote/script.js
http://jenkins-ci.org/commit/33171
Log:
JENKINS-7041add anchor after copying e.innerHTML, so anchor isn't added in 2 places.