HTTP Request after Build

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

HTTP Request after Build

sandeep
This post has NOT been accepted by the mailing list yet.
I want to send the BUILD Name and BUILD ID to my Rest service

which will use Jenkins REST API to get the LOG file associated with the build using

"http://localhost:8080/job/{0}/{1}/consoleText", BuildName, BuildID;

1   How to make a HTTP Post call which will transfer the buildID and BuildName to my Rest Service.
2   Is there any other way to send the contents of console to Rest Service.

My Requirement is to parse the Log File associated with the Test and Extract some Data and Update The Data in SQL SERVER

NOTE: Even if the Call to Rest service Fails I dont want to make the Build to FAIL.
Loading...