I've created a new view (tab) in Jenkins. It was created in the out most right of the page and i'd like it to be moved to the left. I searched everywhere and could not find how to do it. Would appreciate your help.
Actually i found it pretty simple to just add empty spaces in front of the view name and because it orders it alphabetically, you can get the desired result with just a few clicks:
You can also just add a number before each tab. Example: "1. First Tab", "2. Second Tab", "3. Third Tab"
I tried the Dashboard View plugin but couldn't get it working out of the box and didn't want to spend any time on it really.
My solution - which gave me somewhat peace of mind - was to prefix the view names with roman numerals :)
Prefix the view name with a soft hyphen
to make them appear at the end or with a space to make them appear infront
shy = String.fromCharCode(173);
chars = ['A','B','Z', shy + 'Z','a',' a','b','z',];
document.body.innerHTML = chars.toString() + '<br/>' + chars.sort().toString()
<html><head></head><body></body></html>
Tabs are in alphabetical order and I don't think there is any way to change that. So your best option may be to rename your tab so that it starts with an 'A'.
An alternative may be to use this plugin : https://wiki.jenkins-ci.org/display/JENKINS/Dashboard+View It allow customisation of the main page.
© 2022 - 2024 — McMap. All rights reserved.