xebialabs-community / xlr-xlrelease-plugin

Create and start another XL Release template from a parent template
MIT License
3 stars 14 forks source link

Create and start release task fails with xlr 7.x.x #23

Closed difoul closed 6 years ago

difoul commented 6 years ago

The URI for searching a template by name is /api/v1/templates?title=TEMPLATE_NAME instead of /api/v1/templates?filter=TEMPLATE_NAME

Doc : https://docs.xebialabs.com/xl-release/7.2.x/rest-docs/#listing-templates

jdewinne commented 6 years ago

Fixed on master (after some big refactoring)

brhahlen commented 6 years ago

There is something going wrong when testing the latest code on version 7.0.1 of XLR. I always get back Going to use xlr_api_url: /api/v1/templates?filter=Testing Failed to find template in XL Release, even when changing the code to use /api/v1/templates?title=TEMPLATE_NAME

Using a REST call myself, returns the template properly, so there seems to be something going wrong in the parsing of the response, but I can't figure out what, at the moment.

Needs some more testing

brhahlen commented 6 years ago

Okay, never mind, this was my own screw-up...

jdewinne commented 6 years ago

Can you try with v2.0.0.