I work in a .NET environment with Team Foundation Server on premises for version control. I recently configured a Jenkins server to integrate test automation etc...
My aim is to trigger a Jenkins Build when my TFS Build has succeeded, which I have done.
My problem is this:
To trigger the Jenkins Build, I use a Team foundation Web-hook which essentially sends an HTTP Post request to the Jenkins REST API, launching the build.
The contents of the post request ( JSON ) contains information on the TFS build which I need, but I have yet to find a way to access the information and use it in Jenkins.
Does anyone know of a solution to this problem ? To be able to read the contents of an HTTP request and use it in a build ?
If not, then I plan on developing a plugin to make this possible.
If anyone knows of a good place to get started on developing a plugin, any information would be much appreciated.
Thank you,
Oliver