我正在尝试将 Changelog 保存到一个文件中并保存到工作区中,然后使用以下命令将相同的文件从工作区作为 Postbuild Action 上传到 hockeyapp。
Changelog=$(curl "${BUILD_URL}api/xml?wrapper=changes&xpath=//changeSet//item//msg" | sed -e "s/</msg>//g; s//\`echo - e '\r'`/g; s/</*changes>//g" ) echo -e "$Changelog" > "${WORKSPACE}/"Changelog-${BUILD_NUMBER}.html
控制台日志中的错误如下所示。
Authentication required
<!--
You are authenticated as: anonymous
Groups that you are in:
Permission you need to have (but didn'\''t): hudson.model.Hudson.Read
... which is implied by: hudson.security.Permission.GenericRead
... which is implied by: hudson.model.Hudson.Administer
-->
谁能建议我们如何使它工作。