Call to a REST endpoint for latest Job result provides list of artifacts:
curl -H "Accept: application/json" "https://tardigrade-bamboo.internal.atlassian.com/rest/api/latest/result/BAM-FC-REST/latest?expand=artifacts" | json_pp
{
...
"artifacts" : {
"size" : 2,
"max-result" : 2,
"artifact" : [
{
"shared" : false,
"name" : "Build log",
"producerJobKey" : "BAM-FC-REST-14444",
"link" : {
"rel" : "self",
"href" : "https://tardigrade-bamboo.internal.atlassian.com/download/BAM-FC-REST/build_logs/BAM-FC-REST-14444.log"
}
},
{
"prettySizeDescription" : "974 KB",
"size" : 997787,
"link" : {
"rel" : "self",
"href" : "https://tardigrade-bamboo.internal.atlassian.com/build/result/artifactUrlRedirect.action?planKey=BAM-FC-REST&buildNumber=14444&artifactName=PerformanceStats"
},
"shared" : false,
"name" : "PerformanceStats",
"producerJobKey" : "BAM-FC-REST-14444"
}
],
"start-index" : 0
},
}
but the call to Chain result doesn't:
curl -H "Accept: application/json" "https://tardigrade-bamboo.internal.atlassian.com/rest/api/latest/result/BAM-FC/latest?expand=artifacts" | json_pp
{
...
"artifacts" : {
"size" : 0,
"artifact" : [],
"max-result" : 0,
"start-index" : 0
},
...
}
- is caused by
-
BAM-17105 Artifact names are not URL encoded
-
- Closed
-
- Testing discovered
-
BAM-17157 REST endpoint for latest Job result doesn't provide complete list of artifacts
-
- Closed
-
- is cloned as
-
BDEV-11036 Loading...