phlav created JENKINS-13248:
-------------------------------
Summary: remote API no longer provides artifacts
Key: JENKINS-13248
URL: https://issues.jenkins-ci.org/browse/JENKINS-13248
Project: Jenkins
Issue Type: Bug
Components: promoted-builds
Reporter: phlav
After updating Jenkins from 1.449 to 1.457, the remote API for the latest
promoted build stopped returning the artifacts.
For example, for a promotion process named "internal_release", accessing
http://hostname:8080/job/jobname/promotion/latest/internal_release/api/xml
yields only this information:
<promotion>
<action/>
<action>
<cause>
<shortDescription>Legacy code started this job. No cause information is
available</shortDescription>
</cause>
</action>
<action/>
<action/>
<action/>
<building>false</building>
<duration>5890</duration>
<fullDisplayName>jobname » promotion » internal_release #17</fullDisplayName>
<id>2012-02-21_16-44-04</id>
<keepLog>false</keepLog>
<number>17</number>
<result>SUCCESS</result>
<timestamp>1329860644000</timestamp>
<url>
http://hostname:8080/job/jobname/promotion//internal_release/17/
</url>
<builtOn/>
<changeSet/>
</promotion>
A workaround to access the artifacts list would be to find a link from the
promotion number to the actual build number, but this information does not seem
available through the API.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.jenkins-ci.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira