Can /consoleText be made the default console page in Jenkins? - jenkins

Is there any setting I can change in Jenkins to make /consoleText the default page for console outputs? Right now, I have to click on console, and then click on the View as plain text link to get this page.
PS: I'm open to "hack" suggestions, if there's no way to officially do this in Jenkins.
Edit: While I'd be perfectly happy with just making /consoleText as the default page, what would be even better would be to replace the View as plain text link with a View dynamic log link, so that I can access the console link too, in case I need it.

You can try the Sidebar-Link Plugin which will give you the ability to add side links on various Jenkins pages like the build, top level, etc.

Related

Add custom button for Jira issue

Is it possible to add button in jira issue without any add-on plugins?
I need one button in issue page, after click on button I should redirect to given button url along with some issue details as parameters.
If you goal to do it without any add-on - try use Announcement banner. You can include js script to banner and draw button from this script by any way easy to you. Announcement banner runs in every single Jira page. Therefore perhaps better to determine that user is on issue page through check url path or page content or whatever else before draw a button.
You can also use any of these addons:
JsIncluder (you can easily include custom JS per project or issue type) (FREE)
ScriptRunner (and its Web Fragments) (PAID)

Is it possible to hide the nodes/slaves in jenkins view?

we are using Jenkins LTS 2.150.1, Is it possible to hide the nodes/slaves list (by default at the lower left side of the screen) from "regular" users (i.e - not admins).
Is it even possible?
Am I missing something?
I tried:
looking in the configuration of the server, couldn't find any "switch" or anything of that sort to hide it.
looking for a plugin to do that, but couldn't find anything that isn't changing the entire "look and feel" of the basic jenkins theme.
Seems to be that this feature is not added yet. See this ticket.

unable to register device via web page. Page does not follow tutorial

In the page below, it specifies that you can register your device in the left hand column of the page, under advanced options:
https://developers.google.com/assistant/sdk/guides/library/python/embed/register-device
This is no longer the case, the option is not there. Instead there is a backend option.
Is there any kind of web page to do this action at all?
Would prefer a graphical option to a command line one.
Ok. sorted this out.
My thanks to those who looked over this question. Basically I deleted the current projects and started again. the device model registration is right down (scroll right down to) the bottom of the page on the first screen after you have first created the project. Apparently you need to not skip this step, or navigate away from this page before you do the device creation.
after that everything went well and is up and running. Thanks again

Change help link in the Visual Editor of MediaWiki

Is there a way to change the help link in the toolbar dropdown in the new visual editor of MediaWiki?
I tried setting
"visualeditor-help-link":"mw:Help:VisualEditor/User guide/de"
in
"extentsions/VisualEditor/modules/ve-wmf/i18n/de.json"
as proposed here, but then my MediaWiki could not parse the JSON file. My goal is to link to the MediaWiki help page, that can be found here. The normal version:
"visualeditor-help-link":"[https://www.mediawiki.org/wiki/Help:VisualEditor/User_guide/de]"
did not work, neither did this:
"[[{{MediaWiki:visualeditor-helppagelink}}|Hilfe]]"
You should never ever change the source code of MediaWiki core or any extension. It makes an upgrade process much more hard and complicated. There are other ways to achieve a high customization of the user interface language :)
For your problem, it should be enough to create the following page in your wiki (like any other page, but you need the editinterface user right, which is assigned to sysops by default):
MediaWiki:visualeditor-help-link
Put the link you want to use into the textarea (without any wikitext, e.g. "Help:VisualEditor" (without any ")) and save the page.
After reloading the VisualEditor (maybe you need to clear your browser's cache using Ctrl + F5) the link should point to the new target you specified in the message above. If you use a message cache, it is maybe needed to rebuilt it.

How do I add the Debug link on the side of a Fitnesse fixture page?

I'm trying to make debugging our Fitnesse tests easier. We're using runnerw.exe for debugging, it works fine. The UserGuide implies there can be a Debug action with the Test, Edit, etc links on the side of the fixture page.
However, there's no Debug action on our fixture pages. Can anyone tell me how to add it?
Well, changing the buttons on the left hand side involves actually modifying code in FitNesse. So that is a bit bigger of a deal to do.
However, I can give you a couple of options.
First, you could give everyone a bookmarket that they can use that will run the current page (and set the debug flag). The following does it :
javascript:cur_loc=location.href;location.href=cur_loc + "?test&remote_debug=true";
Second, is that you might be able to add the same thing to the PageHeader or PageFooter page, so that it appears everywhere. But then there will be the issue of the option being there even though you are not on a test page.
!-Run Page in Debug Mode-!

Resources