This routine is available starting with Power Scripts™ 3.0.10 (server).
runnerLog(message, percent, action)
runnerLog(message, treatAsHtml) - (since version 4.6.5)
runnerLog(message, treatAsHtml, percent) - (since version 4.6.5)
Puts the 'message' message on the console of a runner gadget. This is a special routine only for the Power Scripts™ for Jira or SIL™ Excel Reporting and only for the runner. The use of it has no effect in other places besides for the runner.
Starting with Power Scripts™ for Jira 3.0.10 (server), the runnerLog routine can also render a progress bar by specifying the percent that you want to be set.
The runnerLog routine can be called in the SIL Manager, but also in the Power Scripts SIL Runner Gadget.
|message||string||Yes||Specifies the message to be put on the runner console|
|percent||number||No||Specifies the percent to be updated on the progress bar|
Specifies the action to be executed (so far, the only action
considered is init_progressBar - to initialize the progress bar;
everything else will be ignored)
|treatAsHtml||boolean||No||Specifies either to show the message as a string, or treat it and render it in the browser as HTML code. - Since version 4.6.5|
string, can always be ignored
The scripts would look like this:
In this case, using the new runnerLog routine, when the script execution is done, the runner will look like this:
The following runnerLog routine call:
Will print a red text in the runner log: