Get build information in StaticUIExtensions


I can't figure out a way to access build information within <script> section for StaticUIExtensions plugin. For example, I created show-triggeredBy.html with this content (sorry about the formatting - the forum editor messed up whitespace):

(function ($) {
var regex = /((#\d+)|N\/A)/g

function showTriggeredBy() {
$("span").each(function () {
var div = $(this);
var oldHtml = div.html();
var newHtml = oldHtml.replace(regex, '$1 ' + '(triggered by: X)');
if (oldHtml !== newHtml) div.html(newHtml);


How can I replace X with actual "triggered by" information? How can I access other information about a build?




Please sign in to leave a comment.