-
Bug
-
Resolution: Unresolved
-
Major
-
None
-
Jenkins 1.528
In prior versions of Jenkins these plugins were compatible, but with the latest version of Jenkins, 'Node and Label parameter plugin' which brings in 'Token Macro Plugin' causes workflow javascript to break.
The bad html includes:
--------------------------------------------------------------------
<!DOCTYPE html><html><head>
<title>DualJobWorkflow [Jenkins]</title><link rel="stylesheet" type="text/css" href="/static/9b5f1d9b/css/style.css" /><link rel="stylesheet" type="text/css" href="/static/9b5f1d9b/css/color.css" /><link rel="shortcut icon" type="image/vnd.microsoft.icon" href="/static/9b5f1d9b/favicon.ico" /><script>var isRunAsTest=false; var rootURL=""; var resURL="/static/9b5f1d9b";</script><script src="/static/9b5f1d9b/scripts/prototype.js" type="text/javascript"></script><script src="/static/9b5f1d9b/scripts/behavior.js" type="text/javascript"></script><script src='/adjuncts/9b5f1d9b/org/kohsuke/stapler/bind.js' type='text/javascript'></script><script src="/static/9b5f1d9b/scripts/yui/yahoo/yahoo-min.js"></script><script src="/static/9b5f1d9b/scripts/yui/dom/dom-min.js"></script><script src="/static/9b5f1d9b/scripts/yui/event/event-min.js"></script><script src="/static/9b5f1d9b/scripts/yui/animation/animation-min.js"></script><script src="/static/9b5f1d9b/scripts/yui/dragdrop/dragdrop-min.js"></script><script src="/static/9b5f1d9b/scripts/yui/container/container-min.js"></script><script src="/static/9b5f1d9b/scripts/yui/connection/connection-min.js"></script><script src="/static/9b5f1d9b/scripts/yui/datasource/datasource-min.js"></script><script src="/static/9b5f1d9b/scripts/yui/autocomplete/autocomplete-min.js"></script><script src="/static/9b5f1d9b/scripts/yui/menu/menu-min.js"></script><script src="/static/9b5f1d9b/scripts/yui/element/element-min.js"></script><script src="/static/9b5f1d9b/scripts/yui/button/button-min.js"></script><script src="/static/9b5f1d9b/scripts/yui/storage/storage-min.js"></script><script src="/static/9b5f1d9b/scripts/hudson-behavior.js" type="text/javascript"></script><script src="/static/9b5f1d9b/scripts/sortable.js" type="text/javascript"></script><script>crumb.init("", "");</script><link rel="stylesheet" type="text/css" href="/static/9b5f1d9b/scripts/yui/container/assets/container.css" /><link rel="stylesheet" type="text/css" href="/static/9b5f1d9b/scripts/yui/assets/skins/sam/skin.css" /><link rel="stylesheet" type="text/css" href="/static/9b5f1d9b/scripts/yui/container/assets/skins/sam/container.css" /><link rel="stylesheet" type="text/css" href="/static/9b5f1d9b/scripts/yui/button/assets/skins/sam/button.css" /><link rel="stylesheet" type="text/css" href="/static/9b5f1d9b/scripts/yui/menu/assets/skins/sam/menu.css" /><link title="Jenkins" rel="search" type="application/opensearchdescription+xml" href="/opensearch.xml" /><meta name="ROBOTS" content="INDEX,NOFOLLOW" /><link title="Jenkins:DualJobWorkflow (all builds)" rel="alternate" type="application/rss+xml" href="rssAll" /><link title="Jenkins:DualJobWorkflow (all builds) (RSS 2.0)" rel="alternate" type="application/rss+xml" href="rssAll?flavor=rss20" /><link title="Jenkins:DualJobWorkflow (failed builds)" rel="alternate" type="application/rss+xml" href="rssFailed" /><link title="Jenkins:DualJobWorkflow (failed builds) (RSS 2.0)" rel="alternate" type="application/rss+xml" href="rssFailed?flavor=rss20" /><script src="/adjuncts/9b5f1d9b/org/kohsuke/stapler/jquery/jquery.full.js" type="text/javascript"></script><script>var Q=jQuery.noConflict()</script><script src="/static/9b5f1d9b/scripts/yui/cookie/cookie-min.js"></script></head><body class="yui-skin-sam"><a href="#skip2content" class="skiplink">Skip to content</a><table id="header" cellpadding="0" cellspacing="0" width="100%" border="0"><tr><td id="top-panel" colspan="2"><table cellpadding="0" cellspacing="0" width="100%" border="0"><tr><td style="font-weight:bold; font-size: 2em;"><a href="/"><img height="34" alt="title" width="139" src="/static/9b5f1d9b/images/title.png" /></a></td><td style="vertical-align: middle; text-align: right; padding-right: 1em;"><form style="position:relative;" name="search" action="/job/DualJobWorkflow/search/" class="no-json" method="get"><div id="search-box-minWidth"></div><div id="search-box-sizer"></div><div id="searchform"><input id="search-box" placeholder="search" name="q" class="has-default-text" /> <a href="http://wiki.jenkins-ci.org/display/JENKINS/Search+Box"><img height="16" alt="help for search" width="16" src="/static/9b5f1d9b/images/16x16/help.png" /></a><div id="search-box-completion"></div><script>createSearchBox("/job/DualJobWorkflow/search/");</script></div></form></td><td id="login-field"><span> <span style="white-space:nowrap"><a class="model-link inside" href="/user/bcarr"><b>bcarr</b></a>
<a href="/logout"><b>log out</b></a></span></span></td></tr></table></td></tr><tr id="top-nav"><td id="left-top-nav" colspan="2"><link rel='stylesheet' href='/adjuncts/9b5f1d9b/lib/layout/breadcrumbs.css' type='text/css' /><script src='/adjuncts/9b5f1d9b/lib/layout/breadcrumbs.js' type='text/javascript'></script><div class="top-sticker noedge"><div class="top-sticker-inner"><div id="right-top-nav"><div id="right-top-nav"><div class="smallfont"><a href="?auto_refresh=true">ENABLE AUTO REFRESH</a></div></div></div><ul id="breadcrumbs"><li class="item"><a class="model-link inside" href="/">Jenkins</a></li><li class="children" href="/"></li><li class="item"><a class="model-link inside" href="/job/DualJobWorkflow/">DualJobWorkflow</a></li><li class="separator"></li></ul><div id="breadcrumb-menu-target"></div></div></div></td></tr></table><table id="main-table" height="70%" style="background-image: url(/static/9b5f1d9b/images/jenkins.png); background-repeat: no-repeat; background-position: bottom left;" width="100%" border="0"><tr><td id="side-panel" width="20%"><div id="navigation" style="min-height: 323px; height: auto !important; height: 323px;"><div id="tasks"><div class="task">
<a href="/"><img height="24" style="margin: 2px;" alt="" width="24" src="/static/9b5f1d9b/images/24x24/up.gif" /></a> <a href="/">Back to Dashboard</a></div><div class="task">
<a href="/job/DualJobWorkflow/delete"><img height="24" style="margin: 2px;" alt="" width="24" src="/static/9b5f1d9b/images/24x24/edit-delete.gif" /></a> <a href="/job/DualJobWorkflow/delete">Delete Project</a></div><div class="task">
<a onclick="setTemplateInstanceName('template.createNewTemplate'); return false;" href="/job/DualJobWorkflow/configure"><img height="24" style="margin: 2px;" alt="" width="24" src="/static/9b5f1d9b/images/24x24/setting.gif" /></a> <a onclick="setTemplateInstanceName('template.createNewTemplate'); return false;" href="/job/DualJobWorkflow/configure">Create Workflow</a></div></div><table class="pane"><tr><td colspan="3" class="pane-header">Associated Workflows:</td></tr></table><script>
function setTemplateInstanceName(instanceName) {
var foo = <script src='/adjuncts/9b5f1d9b/org/kohsuke/stapler/json2.js' type='text/javascript'></script>makeStaplerProxy('/$stapler/bound/8009939c-a6e4-4e80-b7ef-93bdcaff1701','b213019e-bd70-4d5f-800b-4cf7b157be0c',['refresh','executeWorkflow','deleteInstance','validateJobName','validateTemplateName','setTemplateInstanceName','validateJobIsNotRunning'])
foo.setTemplateInstanceName(instanceName, function(t) {
var res = t.responseObject();
if (res.result == true)
})
}
function deleteInstance(instanceName) {
var is_chrome = navigator.userAgent.toLowerCase().indexOf('chrome') > -1;
if (!is_chrome) {
var msg = "Are you sure you want to delete " + instanceName + "?";
var agree=confirm(msg);
if (!agree)
}
var foo = makeStaplerProxy('/$stapler/bound/f31e1548-95c8-4adb-a06d-7270cbebf089','b213019e-bd70-4d5f-800b-4cf7b157be0c',['refresh','executeWorkflow','deleteInstance','validateJobName','validateTemplateName','setTemplateInstanceName','validateJobIsNotRunning'])
foo.deleteInstance(instanceName, function(t) {
var res = t.responseObject();
if (res.result == true)
else
{ notificationBar.show(res.msg, notificationBar.ERROR); setTimeout("notificationBar.hide();",3000); return false; } })
}
function executeInstance(instanceName) {
var foo = makeStaplerProxy('/$stapler/bound/b74616aa-e8e1-4ee3-8256-2b49f50f810d','b213019e-bd70-4d5f-800b-4cf7b157be0c',['refresh','executeWorkflow','deleteInstance','validateJobName','validateTemplateName','setTemplateInstanceName','validateJobIsNotRunning'])
foo.executeWorkflow(instanceName, function(t) {
var res = t.responseObject();
if (res.result == true)
else
{ notificationBar.show(res.msg, notificationBar.ERROR); setTimeout("notificationBar.hide();",3000); return false; } })
}
</script></div></td><td id="main-panel" width="80%" height="100%"><a name="skip2content"></a><h1>Project
DualJobWor<wbr>kflow
</h1><div id="description"><div></div><div align="right"><a onclick="return replaceDescription();" href="editDescription"><img height="16" alt="" width="16" src="/static/9b5f1d9b/images/16x16/notepad.png" />add description</a></div></div><h2>This Project does not have any Associated Workflows</h2></td></tr></table><table width="100%"><tr><td id="footer"><span style="padding-right:2em; color:gray">
Page generated:
Aug 19, 2013 2:38:42 PM</span><span style="padding-right:2em"><a href="api/">REST API</a></span><a href="http://jenkins-ci.org/">Jenkins ver. 1.527</a></td></tr></table><div id="l10n-dialog" class="dialog"></div><div id="l10n-footer" style="display:none; float:left"><a href="#" onclick="return showTranslationDialog();"><img src="/static/9b5f1d9b/plugin/translation/flags.png" />
Help us localize this page
</a></div><script>var footer = document.getElementById('l10n-footer');
var f = document.getElementById('footer');
f.insertBefore(footer,f.firstChild);
footer.style.display="block";
var translation={};
translation.bundles = "2kNgQpbTm8OHNkzISAS9ton7+jSENOhsbTDqUY72rgFhkEybtpGDn4mw4wT/BuWcPxRuFTtC+3noq7q16JJdVkXbhjvoh7Gmox04aEctvQYQ4PAa5/QZ8X6mQ1LFksfmVL5EdTy8jofNHlBzX6kvvOYaZq3SDPPf4O+n2zuuOJ+ECTW5yl/Ab6H0KxQXHE+IMlgj1wa0V9qgxmZLtt51IZ2c8d6RQMFSDEc7WrYYZMysFjmmj0xx0V9HrhpGKJ0SzuqmHInfTfEoMS9Iso5m8ySsnx3GKO6vCp8q8Vnv8I+hIoEGrz7YfjXBftjItt3TpdkJ26G8uMWCA1Y4QCIkULy0TyQYXbRgS1E/PApboYA=";
translation.detectedLocale = "";
function showTranslationDialog()
{ if(!translation.launchDialog) loadScript("/static/9b5f1d9b/plugin/translation/dialog.js"); else translation.launchDialog(); return false; }</script></body></html>