Devops集成jenkins,执行任务报错

回贴
回帖数 3
阅读数 774
发表时间 2023-02-14 16:55:01
🍹
大西瓜 楼主
正在上传图片,请稍后...


SASS错误日志如下:


20230214 16:54:28: job-exec-1
url:    http://jenkins.cf/job/SonarQube-WebCAD/buildWithParameters/api/json
data:   Array
(
    [PARAM_TAG] =>
    [ZENTAO_DATA] => compile=24
)

results:HTTP/1.1 500 Server Error
Server: nginx/1.20.1
Date: Tue, 14 Feb 2023 08:54:27 GMT
Content-Type: text/html;charset=utf-8
Content-Length: 2313
Connection: close
X-Content-Type-Options: nosniff
Expires: Thu, 01 Jan 1970 00:00:00 GMT
Cache-Control: no-cache,no-store,must-revalidate
X-Hudson-Theme: default
Referrer-Policy: same-origin
Cross-Origin-Opener-Policy: same-origin
Set-Cookie: JSESSIONID.94526249=node0j2atfau5y76eqwjairduheco59.node0; Path=/; HttpOnly
X-Hudson: 1.395
X-Jenkins: 2.375.3
X-Jenkins-Session: 8e1d2df9
X-Frame-Options: sameorigin
Content-Encoding: gzip
X-Instance-Identity: MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA1qEE7W8HnZCCtwRm2laRJbz7FdFqyAe9iXNy3aSg4NmR5CU103EAw/8+CFEw+Zt+c0vfzikCFBhXqATEprLEZnPauLIr+7R4OMH2FAG2Z1vVi5oH4pwwguG56IGi4Zr152EUlsLDcbIrjdd8epB3TZekeXfzVjl+oW2akUf1V6ty6BHF6M1zWxwLFhh6gbJb8ZkpWOpjAR/QwMmYa5yGYy2sXkAYrDfP2AcVm3thZDqTUwGSmt+A3LF+NRKd7hCQaXHG3ZugfdfxyL09pyS46CtH7aCXdXxrl4esyD71+qazEvcr3mzJgAPJEC361tK8P5WHXzMIDpBbLtO+mVEoqQIDAQAB



  <!DOCTYPE html><html><head resURL="/static/8e1d2df9" data-rooturl="" data-resurl="/static/8e1d2df9" data-extensions-available="true" data-unit-test="false" data-imagesurl="/static/8e1d2df9/images" data-crumb-header="Jenkins-Crumb" data-crumb-value="35614aab7de6e660fcd787f1abd76e9244b2c49b3594a7177b4b56521ede6f1a">



    <title>Jenkins [Jenkins]</title><link rel="stylesheet" href="/static/8e1d2df9/jsbundles/styles.css" type="text/css"><link rel="stylesheet" href="/static/8e1d2df9/css/responsive-grid.css" type="text/css"><link rel="icon" href="/static/8e1d2df9/favicon.svg" type="image/svg+xml"><link sizes="any" rel="alternate icon" href="/static/8e1d2df9/favicon.ico"><link sizes="180x180" rel="apple-touch-icon" href="/static/8e1d2df9/apple-touch-icon.png"><link color="#5bbad5" rel="mask-icon" href="/static/8e1d2df9/mask-icon.svg"><meta name="theme-color" content="#ffffff"><script src="/static/8e1d2df9/scripts/prototype.js" type="text/javascript"></script><script src="/static/8e1d2df9/scripts/behavior.js" type="text/javascript"></script><script src='/adjuncts/8e1d2df9/org/kohsuke/stapler/bind.js' type='text/javascript'></script><script src="/static/8e1d2df9/scripts/yui/yahoo/yahoo-min.js"></script><script src="/static/8e1d2df9/scripts/yui/dom/dom-min.js"></script><script src="/static/8e1d2df9/scripts/yui/event/event-min.js"></script><script src="/static/8e1d2df9/scripts/yui/animation/animation-min.js"></script><script src="/static/8e1d2df9/scripts/yui/dragdrop/dragdrop-min.js"></script><script src="/static/8e1d2df9/scripts/yui/container/container-min.js"></script><script src="/static/8e1d2df9/scripts/yui/connection/connection-min.js"></script><script src="/static/8e1d2df9/scripts/yui/datasource/datasource-min.js"></script><script src="/static/8e1d2df9/scripts/yui/autocomplete/autocomplete-min.js"></script><script src="/static/8e1d2df9/scripts/yui/menu/menu-min.js"></script><script src="/static/8e1d2df9/scripts/yui/element/element-min.js"></script><script src="/static/8e1d2df9/scripts/yui/button/button-min.js"></script><script src="/static/8e1d2df9/scripts/yui/storage/storage-min.js"></script><script src="/static/8e1d2df9/scripts/hudson-behavior.js" type="text/javascript"></script><script src="/static/8e1d2df9/scripts/sortable.js" type="text/javascript"></script><link rel="stylesheet" href="/static/8e1d2df9/scripts/yui/container/assets/container.css" type="text/css"><link rel="stylesheet" href="/static/8e1d2df9/scripts/yui/container/assets/skins/sam/container.css" type="text/css"><link rel="stylesheet" href="/static/8e1d2df9/scripts/yui/menu/assets/skins/sam/menu.css" type="text/css"><meta name="ROBOTS" content="INDEX,NOFOLLOW"><meta name="viewport" content="width=device-width, initial-scale=1"><script src="/adjuncts/8e1d2df9/org/kohsuke/stapler/jquery/jquery.full.js" type="text/javascript"></script><script>var Q=jQuery.noConflict()</script><script src="/static/8e1d2df9/jsbundles/vendors.js" type="text/javascript"></script><script src="/static/8e1d2df9/jsbundles/page-init.js" type="text/javascript"></script><script src="/static/8e1d2df9/jsbundles/sortable-drag-drop.js" type="text/javascript"></script><script defer="true" src="/static/8e1d2df9/jsbundles/app.js" type="text/javascript"></script></head><body data-model-type="hudson.model.Hudson" id="jenkins" class="yui-skin-sam one-column jenkins-2.375.3" data-version="2.375.3"><a href="#skip2content" class="skiplink">Skip to content</a><header id="page-header" class="page-header"><div class="page-header__brand"><div class="logo"><a id="jenkins-home-link" href="/"><img src="/static/8e1d2df9/images/svgs/logo.svg" alt="[Jenkins]" id="jenkins-head-icon"><img src="/static/8e1d2df9/images/title.svg" alt="Jenkins" width="139" id="jenkins-name-icon" height="34"></a></div><a href="/" class="page-header__brand-link"><img src="/static/8e1d2df9/images/svgs/logo.svg" alt="[Jenkins]" class="page-header__brand-image"><span class="page-header__brand-name">Jenkins</span></a></div><div class="searchbox hidden-xs"><form role="search" method="get" name="search" action="/search/" style="position:relative;" class="no-json"><div id="search-box-sizer"></div><div id="searchform"><input role="searchbox" name="q" placeholder="查找" id="search-box" class="main-search__input"><span class="main-search__icon-leading"><svg class="" class="" aria-hidden="true" xmlns="http://www.w3.org/2000/svg" class="" viewBox="0 0 512 512"><title></title><path d="M221.09 64a157.09 157.09 0 10157.09 157.09A157.1 157.1 0 00221.09 64z" fill="none" stroke="currentColor" stroke-miterlimit="10" stroke-width="32"/><path fill="none" stroke="currentColor" stroke-linecap="round" stroke-miterlimit="10" stroke-width="32" d="M338.29 338.29L448 448"/></svg></span><a href="https://www.jenkins.io/redirect/search-box" class="main-search__icon-trailing"><svg class="" class="" aria-hidden="true" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M256 40a216 216 0 10216 216A216 216 0 00256 40z" fill="none" stroke="currentColor" stroke-miterlimit="10" stroke-width="38"/><path d="M200 202.29s.84-17.5 19.57-32.57C230.68 160.77 244 158.18 256 158c10.93-.14 20.69 1.67 26.53 4.45 10 4.76 29.47 16.38 29.47 41.09 0 26-17 37.81-36.37 50.8S251 281.43 251 296" fill="none" stroke="currentColor" stroke-linecap="round" stroke-miterlimit="10" stroke-width="38"/><circle cx="250" cy="360" r="25" fill="currentColor"/></svg></a><div id="search-box-completion" data-search-url="/search/"></div><script src='/adjuncts/8e1d2df9/jenkins/views/JenkinsHeader/search-box.js' type='text/javascript'></script></div></form></div><div class="login page-header__hyperlinks"><div id="visible-am-insertion" class="page-header__am-wrapper"></div><div id="visible-sec-am-insertion" class="page-header__am-wrapper"></div><a href="/login?from=%2Fjob%2FSonarQube-WebCAD%2FbuildWithParameters%2Fapi%2Fjson"><b>登录</b></a></div></header><script src="/static/8e1d2df9/jsbundles/keyboard-shortcuts.js" type="text/javascript"></script><script src='/adjuncts/8e1d2df9/lib/layout/breadcrumbs.js' type='text/javascript'></script><div id="breadcrumbBar" class="jenkins-breadcrumbs" aria-label="breadcrumb"><ol class="jenkins-breadcrumbs__list" id="breadcrumbs"><li class="jenkins-breadcrumbs__list-item"><a href="/" class="model-link">Dashboard</a></li><li href="/" class="children"></li></ol></div><div id="breadcrumb-menu-target"></div><div id="page-body" class="app-page-body app-page-body--one-column clear"><div id="main-panel"><a name="skip2content"></a><h1 style="text-align: center"><img src="/static/8e1d2df9/images/rage.svg" width="154" height="179"><span style="font-size:50px"> 糟糕!</span></h1><div id="error-description"><h2 style="text-align: center">处理当前请求时发生了错误。</h2><p style="text-align: center">Logging ID=4bb49351-ff2e-4378-b69c-2496989160c5</div></div></div><footer class="page-footer"><div class="container-fluid"><div class="page-footer__flex-row"><div class="page-footer__footer-id-placeholder" id="footer"></div><div class="page-footer__links rest_api hidden-xs"><a href="api/">REST API</a></div><div class="page-footer__links page-footer__links--white jenkins_ver"><a rel="noopener noreferrer" href="https://www.jenkins.io/" target="_blank">Jenkins 2.375.3</a></div></div></div></footer></body></html>

3个回复
🚢
王林 沙发

咱们确认下禅道服务器到jenkins服务器之间可以互相访问到对方吗?

可以试试互相curl看下能访问对方吗?

2023-02-14 17:04:25 王林 回帖
🍹
大西瓜 板凳

肯定可以访问啊,不然流水线是怎么获取到的。。


正在上传图片,请稍后...


2023-02-15 08:09:05 大西瓜 回帖
🍟
张彩玲 #3
您好,方便的话您可以添加页面上方的QQ号,通过后,邀请您进入技术交流群,提供下构建过程的截图,我们协助您排查问题呢。
2023-02-15 08:50:09 张彩玲 回帖
联系人
刘璐/高级客户经理
电话(微信)
18562550650
QQ号码
2845263372
联系邮箱
liulu@chandao.com
返回顶部
刘璐
高级客户经理
18562550650
2845263372
统一服务热线 4006-8899-23
我要提问提问有任何问题,您都可以在这里提问。 问题反馈反馈点击这里,让我们聆听您的建议与反馈。