[ {{#artifacts}} { "path" : "{{this.relativePath}}", "itemType": "file", "metadata" : { "downloadUrl": "{{../endpoint.url}}/job/{{../definition}}/{{../version}}/artifact/{{this.relativePath}}" } }{{#unless @last}},{{/unless}} {{/artifacts}} ]