我需要一些建议/帮助。
问题:从1.558升级到1.641后,Jenkins Side面板丢失了。
OS = CentOS Linux版本2.6.32-279.14.1.el6.x86_64
升级步骤:
结果: 除了侧面板丢失外,所有现有作业和GUI都正常运行。
为什么手动升级? 因为我们现有的Jenkins 1.558已经有20个月了,所以我想确保不会覆盖任何配置。
我的问题: 1.升级程序中缺少什么? 2.如果没有,是否是由于我现有的安装?还是一个bug?
非常感谢您的任何帮助/反馈。 HL
升级后的页面来源
<!DOCTYPE html><html><head resURL="/static/c6c6c1ea">
<title>DPM-Flyer-Context [Jenkins]</title><link rel="stylesheet" href="/static/c6c6c1ea/css/style.css" type="text/css" /><link rel="stylesheet" href="/static/c6c6c1ea/css/color.css" type="text/css" /><link rel="stylesheet" href="/static/c6c6c1ea/css/responsive-grid.css" type="text/css" /><link rel="shortcut icon" href="/static/c6c6c1ea/favicon.ico" type="image/vnd.microsoft.icon" /><link color="black" rel="mask-icon" href="/images/mask-icon.svg" /><script>var isRunAsTest=false; var rootURL=""; var resURL="/static/c6c6c1ea";</script><script src="/static/c6c6c1ea/scripts/prototype.js" type="text/javascript"></script><script src="/static/c6c6c1ea/scripts/behavior.js" type="text/javascript"></script><script src='/adjuncts/c6c6c1ea/org/kohsuke/stapler/bind.js' type='text/javascript'></script><script src="/static/c6c6c1ea/scripts/yui/yahoo/yahoo-min.js"></script><script src="/static/c6c6c1ea/scripts/yui/dom/dom-min.js"></script><script src="/static/c6c6c1ea/scripts/yui/event/event-min.js"></script><script src="/static/c6c6c1ea/scripts/yui/animation/animation-min.js"></script><script src="/static/c6c6c1ea/scripts/yui/dragdrop/dragdrop-min.js"></script><script src="/static/c6c6c1ea/scripts/yui/container/container-min.js"></script><script src="/static/c6c6c1ea/scripts/yui/connection/connection-min.js"></script><script src="/static/c6c6c1ea/scripts/yui/datasource/datasource-min.js"></script><script src="/static/c6c6c1ea/scripts/yui/autocomplete/autocomplete-min.js"></script><script src="/static/c6c6c1ea/scripts/yui/menu/menu-min.js"></script><script src="/static/c6c6c1ea/scripts/yui/element/element-min.js"></script><script src="/static/c6c6c1ea/scripts/yui/button/button-min.js"></script><script src="/static/c6c6c1ea/scripts/yui/storage/storage-min.js"></script><script src="/static/c6c6c1ea/scripts/hudson-behavior.js" type="text/javascript"></script><script src="/static/c6c6c1ea/scripts/sortable.js" type="text/javascript"></script><script>crumb.init("", "");</script><link rel="stylesheet" href="/static/c6c6c1ea/scripts/yui/container/assets/container.css" type="text/css" /><link rel="stylesheet" href="/static/c6c6c1ea/scripts/yui/assets/skins/sam/skin.css" type="text/css" /><link rel="stylesheet" href="/static/c6c6c1ea/scripts/yui/container/assets/skins/sam/container.css" type="text/css" /><link rel="stylesheet" href="/static/c6c6c1ea/scripts/yui/button/assets/skins/sam/button.css" type="text/css" /><link rel="stylesheet" href="/static/c6c6c1ea/scripts/yui/menu/assets/skins/sam/menu.css" type="text/css" /><link rel="search" href="/opensearch.xml" type="application/opensearchdescription+xml" title="Jenkins" /><meta name="ROBOTS" content="INDEX,NOFOLLOW" /><link rel="alternate" href="rssAll" title="Jenkins:DPM-Flyer-Context (all builds)" type="application/rss+xml" /><link rel="alternate" href="rssAll?flavor=rss20" title="Jenkins:DPM-Flyer-Context (all builds) (RSS 2.0)" type="application/rss+xml" /><link rel="alternate" href="rssFailed" title="Jenkins:DPM-Flyer-Context (failed builds)" type="application/rss+xml" /><link rel="alternate" href="rssFailed?flavor=rss20" title="Jenkins:DPM-Flyer-Context (failed builds) (RSS 2.0)" type="application/rss+xml" /><link rel="alternate" href="rssChangelog" title="Jenkins:DPM-Flyer-Context (changelog)" type="application/rss+xml" /><link rel="alternate" href="rssChangelog?flavor=rss20" title="Jenkins:DPM-Flyer-Context (changelog) (RSS 2.0)" type="application/rss+xml" /><script src="/adjuncts/c6c6c1ea/org/kohsuke/stapler/jquery/jquery.full.js" type="text/javascript"></script><script>var Q=jQuery.noConflict()</script><link rel="stylesheet" href="/plugin/jquery-ui/css/jquery-ui-1.8.9.custom.css" type="text/css" /><script src="/plugin/jquery-ui/js/jquery-ui-1.8.9.custom.min.js"></script><script src="/static/c6c6c1ea/scripts/yui/cookie/cookie-min.js"></script><link rel="stylesheet" href="http://swcodevweb123.wco.int/custom/jenkins-dev.css" type="text/css" /><script src="" type="text/javascript"></script></head><body data-model-type="hudson.maven.MavenModuleSet" id="jenkins" class="yui-skin-sam jenkins-1.641" data-version="jenkins-1.641"><a href="#skip2content" class="skiplink">Skip to content</a><div id="page-head"><div id="header"><div class="logo"><a id="jenkins-home-link" href="/"><img src="/static/c6c6c1ea/images/headshot.png" alt="title" id="jenkins-head-icon" /><img src="/static/c6c6c1ea/images/title.png" alt="title" width="139" id="jenkins-name-icon" height="34" /></a></div><div class="login"> <span style="white-space:nowrap"><a href="/user/leh" class="model-link inside inverse"><b>Le, Hong Vu</b></a>
|
<a href="/logout"><b>log out</b></a></span></div><div class="searchbox hidden-xs"><form method="get" name="search" action="/view/FlyerV5/job/DPM-Flyer-Context/search/" style="position:relative;" class="no-json"><div id="search-box-minWidth"></div><div id="search-box-sizer"></div><div id="searchform"><input name="q" placeholder="search" id="search-box" class="has-default-text" /> <a href="http://wiki.jenkins-ci.org/display/JENKINS/Search+Box"><img src="/static/c6c6c1ea/images/16x16/help.png" style="width: 16px; height: 16px; " class="icon-help icon-sm" /></a><div id="search-box-completion"></div><script>createSearchBox("/view/FlyerV5/job/DPM-Flyer-Context/search/");</script></div></form></div></div><div id="breadcrumbBar"><tr id="top-nav"><td id="left-top-nav" colspan="2"><link rel='stylesheet' href='/adjuncts/c6c6c1ea/lib/layout/breadcrumbs.css' type='text/css' /><script src='/adjuncts/c6c6c1ea/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 href="/" class="model-link inside">Jenkins</a></li><li href="/" class="children"></li><li class="item"><a href="/view/FlyerV5/" class=" inside">FlyerV5</a></li><li href="/view/FlyerV5/" class="children"></li><li class="item"><a href="/view/FlyerV5/job/DPM-Flyer-Context/" class="model-link inside">DPM-Flyer-Context</a></li><li href="/view/FlyerV5/job/DPM-Flyer-Context/" class="children"></li></ul><div id="breadcrumb-menu-target"></div></div></div></td></tr></div></div><div id="page-body"><div id="side-panel"><div id="tasks"><div class="task"><a href="/" class="task-icon-link"><img src="/static/c6c6c1ea/images/24x24/up.png" style="width: 24px; height: 24px; width: 24px; height: 24px; margin: 2px;" class="icon-up icon-md" /></a> <a href="/" class="task-link">Back to Dashboard</a></div><div class="task"><a href="/view/FlyerV5/job/DPM-Flyer-Context/" class="task-icon-link"><img src="/static/c6c6c1ea/images/24x24/search.png" style="width: 24px; height: 24px; width: 24px; height: 24px; margin: 2px;" class="icon-search icon-md" /></a> <a href="/view/FlyerV5/job/DPM-Flyer-Context/" class="task-link"><b>Status</b></a><div class="subtasks"></div></div><div class="task"><a href="/view/FlyerV5/job/DPM-Flyer-Context/changes" class="task-icon-link"><img src="/static/c6c6c1ea/images/24x24/notepad.png" style="width: 24px; height: 24px; width: 24px; height: 24px; margin: 2px;" class="icon-notepad icon-md" /></a> <a href="/view/FlyerV5/job/DPM-Flyer-Context/changes" class="task-link">Changes</a></div><div class="task"><a href="/view/FlyerV5/job/DPM-Flyer-Context/ws/" class="task-icon-link"><img src="/static/c6c6c1ea/images/24x24/folder.png" style="width: 24px; height: 24px; width: 24px; height: 24px; margin: 2px;" class="icon-folder icon-md" /></a> <a href="/view/FlyerV5/job/DPM-Flyer-Context/ws/" class="task-link">Workspace</a></div><div class="task"><a href="/view/FlyerV5/job/DPM-Flyer-Context/build?delay=0sec" class="task-icon-link"><img src="/static/c6c6c1ea/images/24x24/clock.png" style="width: 24px; height: 24px; width: 24px; height: 24px; margin: 2px;" class="icon-clock icon-md" /></a> <a href="/view/FlyerV5/job/DPM-Flyer-Context/build?delay=0sec" class="task-link">Build with Parameters</a></div><script>function build_id3899(a) {
new Ajax.Request(a.href);
hoverNotification('Build scheduled',a.parentNode);
return false;
}</script><div class="task"><a onclick="confirmPOST_id3902(true, '/view/FlyerV5/job/DPM-Flyer-Context/doDelete', 'Are you sure about deleting the Maven project ‘DPM-Flyer-Context’?')" href="#" class="task-icon-link"><img src="/static/c6c6c1ea/images/24x24/edit-delete.png" style="width: 24px; height: 24px; width: 24px; height: 24px; margin: 2px;" class="icon-edit-delete icon-md" /></a><script>function confirmPOST_id3902(post, href, message) {
if (confirm(message)) {
var form = document.createElement('form');
form.setAttribute('method', post ? 'POST' : 'GET');
form.setAttribute('action', href);
if (post) {
crumb.appendToForm(form);
}
document.body.appendChild(form);
form.submit();
}
return false;
}</script> <a onclick="confirmPOST_id3903(true, '/view/FlyerV5/job/DPM-Flyer-Context/doDelete', 'Are you sure about deleting the Maven project ‘DPM-Flyer-Context’?')" href="#" class="task-link">Delete Maven project</a><script>function confirmPOST_id3903(post, href, message) {
if (confirm(message)) {
var form = document.createElement('form');
form.setAttribute('method', post ? 'POST' : 'GET');
form.setAttribute('action', href);
if (post) {
crumb.appendToForm(form);
}
document.body.appendChild(form);
form.submit();
}
return false;
}</script></div><div class="task"><a href="/view/FlyerV5/job/DPM-Flyer-Context/configure" class="task-icon-link"><img src="/static/c6c6c1ea/images/24x24/setting.png" style="width: 24px; height: 24px; width: 24px; height: 24px; margin: 2px;" class="icon-setting icon-md" /></a> <a href="/view/FlyerV5/job/DPM-Flyer-Context/configure" class="task-link">Configure</a></div><div class="task"><a onclick="confirmPOST_id3906(true, '/view/FlyerV5/job/DPM-Flyer-Context/doDeleteAllDisabledModules', 'Are you sure about deleting all the disabled modules?')" href="#" class="task-icon-link"><img src="/static/c6c6c1ea/images/24x24/delete-document.png" style="width: 24px; height: 24px; width: 24px; height: 24px; margin: 2px;" class="icon-delete-document icon-md" /></a><script>function confirmPOST_id3906(post, href, message) {
if (confirm(message)) {
var form = document.createElement('form');
form.setAttribute('method', post ? 'POST' : 'GET');
form.setAttribute('action', href);
if (post) {
crumb.appendToForm(form);
}
document.body.appendChild(form);
form.submit();
}
return false;
}</script> <a onclick="confirmPOST_id3907(true, '/view/FlyerV5/job/DPM-Flyer-Context/doDeleteAllDisabledModules', 'Are you sure about deleting all the disabled modules?')" href="#" class="task-link">Delete All Disabled Modules</a><script>function confirmPOST_id3907(post, href, message) {
if (confirm(message)) {
var form = document.createElement('form');
form.setAttribute('method', post ? 'POST' : 'GET');
form.setAttribute('action', href);
if (post) {
crumb.appendToForm(form);
}
document.body.appendChild(form);
form.submit();
}
return false;
}</script></div>
源代码段太大了。我在下面的评论中添加了提醒。
Jenkins after upgrade WITHOUT Side panel Jenkins before upgrade WITH Side panel
答案 0 :(得分:1)
我发现您不能同时安装所有主题,因为它们不兼容。话虽如此,我唯一需要删除的是“简单主题插件”。
解决步骤:
答案 1 :(得分:0)
这可能是缓存问题。尝试清除缓存(Chrome中的Ctrl + R)