[英]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.