2
votes

Used the REST API and got the details of the build and able to get the JSON responce

https://docs.microsoft.com/en-us/rest/api/azure/devops/build/builds/list?view=azure-devops-rest-5.0#build

Is there a Maven dependency which is available so as to add dependency and then parse the returned JSON .

Appericate the help

1

1 Answers

0
votes

There is no Maven dependency for azure devops. You need to send http request to call Azure devops api in java and parse the returned response use maven dependencies that handles json.

You can refer to the java example in this thread to call azure devops api.

For maven dependencies that handle json, there are GSON, Jackson and other dependencies that are available.

You can refer this thread to find more json dependencies and examples.