Welcome to the Inedo Forums! Check out the Forums Guide for help getting started.
If you are experiencing any issues with the forum software, please visit the Contact Form on our website and let us know!
Integration with Jenkins
-
Hi
I have installed build master and it is running on my local machine.I am trying to trigger a build for buildmaster from Jenkins. The plughin ( version 1.3 ) requires an APIKey to be setup.
What is this APIKey? Does it have a certain value? How do I get and setup this Key as it was set to blank within BuildMaster > AllSettings > api section.
if I leave this Key blank we will get the following error :
Failed. Please check the configuration. java.io.IOException: HTTP/1.1 403 Forbidden: Invalid API key.
Otherwise any arbitrary/random value results in the error message below:
Failed. Please check the configuration. java.io.IOException: HTTP/1.1 500 Internal Server Error: Ambiguous match found
Kindest regards
HuyProduct: BuildMaster
Version: 4.7.5
-
Which API are you calling, the SOAP or the JSON API? And which method in the API are you trying to call?
The value for the API key can be any text, and for the JSON API, would be passed in as:
http://buildmaster-server/api/json/Method_Name?API_Key=yourKey&Argument_1=value1&Argument_2=value2
The easiest way to go about your issue is to create a URL-Triggered Build. Note the screenshots are a bit out of date but the information is the same.