禅道使用
37073
在进行jenkins的集成时,输入了对应的信息,返回错误:应使用post请求。已解决 悬赏10积分
提问者黄诗豪
答案数1
阅读数1686
发表时间2020-03-26 09:59:04
<?php die(); ?>20200326 09:45:44: job-e x e c-1
url: http://nt:117e23dee3724362042e6be52166a6dda6@10.50.11.115:8080//job/%E6%80%BB%E8%A1%8C%E5%AE%A2%E6%88%B7%E7%AB%AF/buildWithParameters/api/json
results:HTTP/1.1 405 Method Not Allowed
Date: Thu, 26 Mar 2020 01:45:43 GMT
X-Content-Type-Options: nosniff
Allow: POST
Content-Type: text/html;charset=utf-8
Expires: Thu, 01 Jan 1970 00:00:00 GMT
Cache-Control: no-cache,no-store,must-re v a lidate
X-Hudson-Theme: default
Referrer-Policy: same-origin
Set-Cookie: JSESSIONID.3235ee1f=node0ah8iwiwvi5z21w4g1hx4jaec612.node0;Path=/;HttpOnly
X-Hudson: 1.395
X-Jenkins: 2.204.5
X-Jenkins-Session: cec4e2d2
X-Frame-Options: sameorigin
Content-Encoding: gzip
X-Instance-Identity: MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAh+WdCksaShJzOD/GGov9TKLUnv82mmxxutLxL46AyLN86SXWVbZRlCKYsj/q3XqckwoABNLEY73pMuDEYg67Evjb4Z4/n8ThzvYr6s6FQ9kslJuGusb++JT1BzBzrrU2CloC2e5GHct7PUMISWRXuq7s2qPpot3afO+XScxGSn7WBfw683iURkCBfvh7ej3qufZ1wIUx9FzQLdaEzEQbFG2xaP1LYOhFqCyDsgEGyhOnzFb7qj+iCZRnfu7C+tBSEbV3nPrZB8oufPOEHmWnapq+V+8lGihnfX44p3T6NmhoThLXxObJQHtYPf4zgakCIYgfeYaZiP/i8cJRMRqWhwIDAQAB
Content-Length: 3651
Server: Jetty(9.4.z-SNAPSHOT)
<!DOCTYPE html><html><head resURL="/static/cec4e2d2" data-rooturl="" data-resurl="/static/cec4e2d2">
<title>Form post r e q u i r ed [Jenkins]</title><link rel="stylesheet" href="/static/cec4e2d2/css/layout-common.css" type="text/css"><link rel="stylesheet" href="/static/cec4e2d2/css/style.css" type="text/css"><link rel="stylesheet" href="/static/cec4e2d2/css/color.css" type="text/css"><link rel="stylesheet" href="/static/cec4e2d2/css/responsive-grid.css" type="text/css"><link rel="shortcut icon" href="/static/cec4e2d2/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/cec4e2d2";</script><script src="/static/cec4e2d2/scripts/prototype.js" type="text/javascript"></script><script src="/static/cec4e2d2/scripts/behavior.js" type="text/javascript"></script><script src='/adjuncts/cec4e2d2/org/kohsuke/stapler/bind.js' type='text/javascript'></script><script src="/static/cec4e2d2/scripts/yui/yahoo/yahoo-min.js"></script><script src="/static/cec4e2d2/scripts/yui/dom/dom-min.js"></script><script src="/static/cec4e2d2/scripts/yui/event/event-min.js"></script><script src="/static/cec4e2d2/scripts/yui/animation/animation-min.js"></script><script src="/static/cec4e2d2/scripts/yui/dragdrop/dragdrop-min.js"></script><script src="/static/cec4e2d2/scripts/yui/container/container-min.js"></script><script src="/static/cec4e2d2/scripts/yui/connection/connection-min.js"></script><script src="/static/cec4e2d2/scripts/yui/datasource/datasource-min.js"></script><script src="/static/cec4e2d2/scripts/yui/autocomplete/autocomplete-min.js"></script><script src="/static/cec4e2d2/scripts/yui/menu/menu-min.js"></script><script src="/static/cec4e2d2/scripts/yui/element/element-min.js"></script><script src="/static/cec4e2d2/scripts/yui/button/button-min.js"></script><script src="/static/cec4e2d2/scripts/yui/storage/storage-min.js"></script><script src="/static/cec4e2d2/scripts/hudson-behavior.js" type="text/javascript"></script><script src="/static/cec4e2d2/scripts/sortable.js" type="text/javascript"></script><script>crumb.init("", "");</script><link rel="stylesheet" href="/static/cec4e2d2/scripts/yui/container/assets/container.css" type="text/css"><link rel="stylesheet" href="/static/cec4e2d2/scripts/yui/assets/skins/sam/skin.css" type="text/css"><link rel="stylesheet" href="/static/cec4e2d2/scripts/yui/container/assets/skins/sam/container.css" type="text/css"><link rel="stylesheet" href="/static/cec4e2d2/scripts/yui/button/assets/skins/sam/button.css" type="text/css"><link rel="stylesheet" href="/static/cec4e2d2/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"><meta name="viewport" content="width=device-width, initial-scale=1"><script src="/adjuncts/cec4e2d2/org/kohsuke/stapler/jquery/jquery.full.js" type="text/javascript"></script><script>var Q=jQuery.noConflict()</script><script src="/static/cec4e2d2/jsbundles/page-init.js" type="text/javascript"></script></head><body data-model-type="hudson.model.FreeStyleProject" id="jenkins" class="yui-skin-sam two-column jenkins-2.204.5" data-version="2.204.5"><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/cec4e2d2/images/headshot.png" alt="[Jenkins]" id="jenkins-head-icon"><img src="/static/cec4e2d2/images/title.png" alt="Jenkins" width="139" id="jenkins-name-icon" height="34"></a></div><div class="login"> <span style="white-space:nowrap"><a href="/user/nt" class="model-link inside inverse"><b>nt</b></a>
|
<a href="/logout"><b>注销</b></a></span></div><div class="searchbox hidden-xs"><form role="search" method="get" name="search" action="/job/%E6%80%BB%E8%A1%8C%E5%AE%A2%E6%88%B7%E7%AB%AF/search/" style="position:relative;" class="no-json"><div id="search-box-minWidth"></div><div id="search-box-sizer"></div><div id="searchform"><input role="searchbox" name="q" placeholder="查找" id="search-box" class="has-default-text"> <a href="https://jenkins.io/redirect/search-box"><img src="/static/cec4e2d2/images/16x16/help.png" style="width: 16px; height: 16px; " class="icon-help icon-sm"></a><div id="search-box-completion"></div><script>createSearchBox("/job/%E6%80%BB%E8%A1%8C%E5%AE%A2%E6%88%B7%E7%AB%AF/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/cec4e2d2/lib/layout/breadcrumbs.css' type='text/css' /><script src='/adjuncts/cec4e2d2/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">允许自动刷新</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="/job/%E6%80%BB%E8%A1%8C%E5%AE%A2%E6%88%B7%E7%AB%AF/" class="model-link inside">总行客户端</a></li><li href="/job/%E6%80%BB%E8%A1%8C%E5%AE%A2%E6%88%B7%E7%AB%AF/" class="children"></li></ul><div id="breadcrumb-menu-target"></div></div></div></td></tr></div></div><div id="page-body" class="clear"><div id="side-panel"></div><div id="main-panel"><a name="skip2content"></a><p>You must use POST method to trigger builds. (From scripts you may instead pass a per-project authentication token, or authenticate with your API token.) If you see this page, it may be because a plugin offered a GET link; file a bug report for that plugin.<form method="POST"><input type="submit" value="Proceed"></form></div></div><footer><div class="container-fluid"><div class="row"><div class="col-md-6" id="footer"></div><div class="col-md-18"><span class="page_generated">生成页面: 2020-3-26 上午09时45分44秒</span><span class="rest_api"><a href="api/">REST API</a></span><span class="jenkins_ver"><a href="https://jenkins.io/">Jenkins ver. 2.204.5</a></span><link rel='stylesheet' href='/adjuncts/cec4e2d2/jenkins/management/AdministrativeMonitorsDecorator/resources.css' type='text/css' /><script src='/adjuncts/cec4e2d2/jenkins/management/AdministrativeMonitorsDecorator/resources.js' type='text/javascript'></script><div id="visible-am-container"><a onclick="toggleVisibleAmList(event)" id="visible-am-button" href="#" title="有 3 项激活的管理员检查项">3</a><div id="visible-am-list"><div class="am-message"><div class="alert alert-danger" role="alert"><form method="post" name="hudson.PluginWrapper$PluginWrapperAdministrativeMonitor" action="/administrativeMonitor/hudson.PluginWrapper$PluginWrapperAdministrativeMonitor/act"><input name="correct" type="submit" value="纠正" class="submit-button primary"></form><p><strong>依赖错误:</strong><p>部分插件由于缺少依赖无法加载。要恢复这些插件提供的功能,需要修复这些问题并重启 Jenkins。<dl><dt>Pipeline: Declarative Extension Points API version 1.6.0</dt><dd>pipeline-model-api version 1.6.0 is missing. To fix, install version 1.6.0 or later.</dd></dl><dl><dt>Docker Pipeline version 1.23</dt><dd>workflow-basic-steps version 2.18 is missing. To fix, install version 2.18 or later.</dd></dl><dl><dt>GitHub plugin version 1.29.5</dt><dd>github-api version 1.90 is missing. To fix, install version 1.90 or later.</dd></dl><dl><dt>Pipeline: Nodes and Processes version 2.35</dt><dd>durable-task version 1.33 is missing. To fix, install version 1.33 or later.</dd></dl><dl><dt>Pipeline: Stage View Plugin version 2.13</dt><dd>pipeline-rest-api version 2.13 is missing. To fix, install version 2.13 or later.</dd></dl><dl><dt>Pipeline: Declarative version 1.6.0</dt><dd>workflow-basic-steps version 2.18 is missing. To fix, install version 2.18 or later.</dd></dl><dl><dt>Android Emulator Plugin version 3.0</dt><dd>port-allocator version 1.8 is missing. To fix, install version 1.8 or later.</dd></dl><p><strong>下游依赖错误:</strong><p>由于一个或者多个上面的错误导致这些插件无法加载。修复后插件将会再次加载。<dl><dt>Docker Pipeline version 1.23</dt><dd>Pipeline: Nodes and Processes version 2.35 failed to load. Fix this plugin first.</dd><dt>Pipeline version 2.6</dt><dd>Pipeline: Stage View Plugin version 2.13 failed to load. Fix this plugin first.</dd><dt>Workspace Cleanup Plugin version 0.38</dt><dd>Pipeline: Nodes and Processes version 2.35 failed to load. Fix this plugin first.</dd><dt>Pipeline: Declarative version 1.6.0</dt><dd>Pipeline: Nodes and Processes version 2.35 failed to load. Fix this plugin first.</dd><dt>Open STF Plugin version 1.0.9</dt><dd>Android Emulator Plugin version 3.0 failed to load. Fix this plugin first.</dd><dt>GitHub Branch Source Plugin version 2.6.0</dt><dd>GitHub plugin version 1.29.5 failed to load. Fix this plugin first.</dd><dt>Pipeline: Declarative Agent API version 1.1.1</dt><dd>Pipeline: Declarative Extension Points API version 1.6.0 failed to load. Fix this plugin first.</dd></dl></div></div><div class="am-message"><div class="alert alert-danger" role="alert"><form method="post" action="/administrativeMonitor/jenkins.security.UpdateSiteWarningsMonitor/forward"><input name="fix" type="submit" value="返回插件管理" class="submit-button primary"><input name="configure" type="submit" value="配置显示哪些警告" class="submit-button primary"></form>当前安装的下列组件已有警告发布。<dl><dt><a href="https://plugins.jenkins.io/ftppublisher" target="_blank">FTP publisher plugin 1.2</a></dt><dd><a href="https://jenkins.io/security/advisory/2019-04-03/#SECURITY-974" target="_blank">CSRF vulnerability and missing permission check allow connecting to arbitrary FTP servers</a></dd><dd><a href="https://jenkins.io/security/advisory/2019-04-03/#SECURITY-954" target="_blank">Credentials stored in plain text</a></dd><dt><a href="https://plugins.jenkins.io/kubernetes-ci" target="_blank">ElasticBox Jenkins Kubernetes CI/CD Plug-in 1.3</a></dt><dd><a href="https://jenkins.io/security/advisory/2019-10-23/#SECURITY-1005%20(1)" target="_blank">CSRF vulnerability and missing permission checks allowed capturing credentials</a></dd><dd><a href="https://jenkins.io/security/advisory/2019-10-23/#SECURITY-1005%20(2)" target="_blank">Users with Overall/Read access could enumerate credential IDs</a></dd></dl></div></div><div class="am-message"><div class="alert alert-warning"><form method="post" action="/administrativeMonitor/jenkins.security.csrf.CSRFAdministrativeMonitor/disable"><input name="Submit" type="submit" value="不再显示" class="submit-button primary"></form>您还没有配置跨站请求伪造防护。这可能会有安全问题。 更多信息,请参考 <a href="https://jenkins.io/redirect/csrf-protection" target="_blank">这个页面</a>。<p>您可以在安全区域 <a href="/configureSecurity">跨站请求伪造保护</a> 来修改当前的配置。</div></div><p style="text-align: center; margin: 10px 0 0 0;"><a onclick="document.location.href='/manage';" href="/manage">管理 Jenkins</a></div></div><script type="text/javascript">
document.getElementById("header").appendChild(document.getElementById("visible-am-container"));
</script></div></div></div></footer></body></html>
请问一下是哪里配置的问题吗?谢谢。
禅道版本:12.1
安装包类型:Windows安装包
操作系统:Windows Server 2008
客户端浏览器:Chrome
答案列表
🥂 1、admin用户登录禅道,在 后台-插件-本地安装 页面安装这个补丁: http://www.zentao.net/extension-viewrelease-784-front.html 如果还是无法成功可以添加页面上方QQ,邀请进群方便截图排查问题。
回复
|
联系我们
联系人
刘斌/高级客户经理
电话(微信)
17685869372
QQ号码
526288068
联系邮箱
liubin@chandao.com
额。日志里面复制出来格式乱了。。
<?php die(); ?>20200326 09:45:44: job-e x e c-1
url: http://nt:117e23dee3724362042e6be52166a6dda6@10.50.11.115:8080//job/%E6%80%BB%E8%A1%8C%E5%AE%A2%E6%88%B7%E7%AB%AF/buildWithParameters/api/json
results:HTTP/1.1 405 Method Not Allowed
Date: Thu, 26 Mar 2020 01:45:43 GMT
X-Content-Type-Options: nosniff
Allow: POST
Content-Type: text/html;charset=utf-8
Expires: Thu, 01 Jan 1970 00:00:00 GMT
Cache-Control: no-cache,no-store,must-re v a lidate
X-Hudson-Theme: default
Referrer-Policy: same-origin
Set-Cookie: JSESSIONID.3235ee1f=node0ah8iwiwvi5z21w4g1hx4jaec612.node0;Path=/;HttpOnly
X-Hudson: 1.395
X-Jenkins: 2.204.5
X-Jenkins-Session: cec4e2d2
X-Frame-Options: sameorigin
Content-Encoding: gzip
X-Instance-Identity: MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAh+WdCksaShJzOD/GGov9TKLUnv82mmxxutLxL46AyLN86SXWVbZRlCKYsj/q3XqckwoABNLEY73pMuDEYg67Evjb4Z4/n8ThzvYr6s6FQ9kslJuGusb++JT1BzBzrrU2CloC2e5GHct7PUMISWRXuq7s2qPpot3afO+XScxGSn7WBfw683iURkCBfvh7ej3qufZ1wIUx9FzQLdaEzEQbFG2xaP1LYOhFqCyDsgEGyhOnzFb7qj+iCZRnfu7C+tBSEbV3nPrZB8oufPOEHmWnapq+V+8lGihnfX44p3T6NmhoThLXxObJQHtYPf4zgakCIYgfeYaZiP/i8cJRMRqWhwIDAQAB
Content-Length: 3651
Server: Jetty(9.4.z-SNAPSHOT)