[英]Jenkins Groovy Declarative Script fails to publish files to Confluence with 'bad types' error
Is anyone able to make sense of this error?有谁能理解这个错误? This script to publish files to Confluence during Jenkins jobs was working just fine as recently as a week ago.
这个用于在 Jenkins 作业期间将文件发布到 Confluence 的脚本在一周前工作得很好。 Now it is throwing errors and my googling hasn't been able to reveal what it's complaining about.
现在它正在抛出错误,我的谷歌搜索无法揭示它在抱怨什么。
The code (Groovy in a declarative script):代码(声明性脚本中的 Groovy):
publishConfluence siteName: '', spaceName: '', pageName: '', buildIfUnstable: true, fileSet: 'text.html'
And the error:和错误:
[confluence] Uploading attachments to Confluence page: www.example.com
[confluence] Evaluating fileset pattern: text.html
[confluence] Found 2 workspace artifact(s) to upload to Confluence...
[confluence] Uploading 2 file(s) to Confluence...
[confluence] - Uploading file: text.html (text/html)
ERROR: Unable to upload file...
AxisFault
faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.userException
faultSubcode:
faultString: org.xml.sax.SAXException: Bad types (class com.atlassian.confluence.rpc.soap.beans.RemoteAttachment -> long)
e: Confluence version is 7.4.8 btw e: Confluence 版本是 7.4.8 btw
The plugin just needed an upgrade to match the Confluence version.该插件只需要升级以匹配 Confluence 版本。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.