-
Improvement
-
Resolution: Fixed
-
Minor
Marked line in source code lister of Warnings plugin is not visible if the code is longer than a page, because the new navigation line of Jenkins covers it. It appears only if user scrolls up a bit.
It would be nice if the plugin would not jump exactly on the marked line, but some 4-5 lines before. This would solve the problem, and the relevant warning would not be that topmost (could be noticed quicker)
- is related to
-
JENKINS-18029 Selected line with static analysis violation is hidden because breadcrumb covers it
-
- Closed
-
Code changed in jenkins
User: Ulli Hafner
Path:
src/main/java/hudson/plugins/analysis/util/model/AbstractAnnotation.java
src/main/resources/hudson/plugins/analysis/views/TabDetail/details.jelly
src/main/resources/hudson/plugins/analysis/views/TabDetail/warnings.jelly
src/main/resources/util/sourceLink.jelly
http://jenkins-ci.org/commit/analysis-core-plugin/735e37429e4e22a54192a02ce3077872b6a978a7
Log:
[FIXED JENKINS-13491] Center the affected source line in source view.