gpt4 book ai didi

user-interface - Jenkins 升级 - 升级后缺少侧面板

转载 作者:行者123 更新时间:2023-12-04 18:01:44 24 4
gpt4 key购买 nike

我需要一些建议/帮助。

问题:从 1.558 升级到 1.641 后,Jenkins 侧面板丢失。

OS=CentOS Linux 版本 2.6.32-279.14.1.el6.x86_64

升级步骤:

  1. 下载最新的 Jenkins 安装,1.641
  2. 备份现有的 Jenkins 安装(JENKINS_HOME=/data/jenkins 和/usr/lib/jenkins/jenkins.war
  3. 停止 Jenkins 服务
  4. 在/usr/lib/jenkins/jenkins.war 中安装新的 Jenkins war
  5. 将 jdk 从 1.6 切换到 1.8
  6. 删除插件目录中的所有.pinned 文件
  7. 重启 Jenkins Linux 服务器
  8. 将所有 Jenkins 插件从 Jenkins GUI 更新到最新版本
  9. 重启 Jenkins
  10. 验证 Jenkins 管理和 GUI
  11. 验证 Jenkins 构建

结果:所有现有作业和 GUI 均正常运行,但缺少侧面板。

为什么要手动升级?因为我们现有的 Jenkins 1.558 已经使用了 20 个月,所以我想确保没有任何配置被覆盖。

我的问题:1. 我的升级程序缺少什么?2. 如果不是,是否是我现有安装的问题?还是错误?

非常感谢您提供的任何帮助/反馈。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>

源代码片段太大。我在下面的评论中添加了提醒。

After upgrade WITHOUT Side panel

Jenkins after upgrade WITHOUT Side panel Jenkins before upgrade WITH Side panel

最佳答案

我发现您不能同时安装所有主题,因为它们不兼容。也就是说,我唯一需要删除的是“简单主题插件”。

解决步骤:

  1. 打开{Your_Jenkins_Server}:{Port}/pluginManager/installed
  2. 搜索“简单主题插件”
  3. 取消选中“简单主题插件”复选框。
  4. 选择“没有作业运行时重新启动”(根据版本不同可能有所不同)框并等待重新启动。

关于user-interface - Jenkins 升级 - 升级后缺少侧面板,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/34271268/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com