[英]Accessing the variables from "robot publish" in a Jenkins declarative groovy script?
[英]Jenkins Groovy Declarative Script fails to publish files to Confluence with 'bad types' error
有谁能理解这个错误? 这个用于在 Jenkins 作业期间将文件发布到 Confluence 的脚本在一周前工作得很好。 现在它正在抛出错误,我的谷歌搜索无法揭示它在抱怨什么。
代码(声明性脚本中的 Groovy):
publishConfluence siteName: '', spaceName: '', pageName: '', buildIfUnstable: true, fileSet: 'text.html'
和错误:
[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 版本是 7.4.8 btw
该插件只需要升级以匹配 Confluence 版本。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.