Bring your own build
learn how to integrate build tools to in build, you can access insights into build information from multiple tools through a centralized service build provides a graphical representation of activity around builds of projects & pipelines currently, travis ci and jenkins are supported by build, and you can also post builds from other tools to devops intelligence build by utilizing the provided apis when data is populated from build tools, the build page displays the information in a visual format bringing data into to bring your own build tools complete the following steps go to the tools configuration page and navigate to the tokens tab click on create token and give a unique token name select token type as build, then click on the create button a new entry will be added to the table in the table entry click on the vertical ellipsis icon on the respective row and select the view/regenerate token option copy that token by clicking copy icon in the token field note to post data to the apis mentioned below, add the service token (see create service token) to the authorization header of the request see curl example for reference format step 1 token {the service token from step1} example token 74h5cr8setsjrvofkdbsisy3lsgfngu v5anur4pxu1jh8kp0nqbjhuwqsrmgztx step 2 api reference api /services/builds url https //{devops intelligence host}/dash/api/build/v3/technical services/builds parameters parameter type explanation example value build body build data in json { "build id" "5d69de78674bf10001ed4ce1", "href" "https //spinnaker jenkins gravitant net/11/", "built at" "2020 02 26t02 42 00 184z", "duration" 100572000000, "repo url" "https //github kyndryl net/mcmp devops intelligence/dash ws mesh", "branch" "master", "commit" "d2bff1ef9bed5939d3619cb8f926ab37db6f72b2", "build engine" "jenkins", "build status" "pass", "technical service name" "mcmp devops intelligence/testservice", "technicalserviceoverride" true } curl example curl location request post 'https //peer core gravitant net/dash/api/build/v3/technical services/builds' \\ \ header 'authorization token 74h5cr8setsjrvofkdbsisy3lsgfngu v5anur4pxu1jh8kp0nqbjhuwqsrmgztx' \\ \ header 'content type application/json' \\ \ data raw '{ "build id" "5d69de78674bf10001ed4ce1", "href" "https //spinnaker jenkins gravitant net/job/dash/job/dash ws mesh/job/master/11/", "built at" "2020 02 26t02 42 00 184z", "duration" 100572000000, "repo url" "https //github kyndryl net/mcmp devops intelligence/dash ws mesh", "branch" "master", "commit" "d2bff1ef9bed5939d3619cb8f926ab37db6f72b2", "build engine" "jenkins", "build status" "pass", "technical service name" "mcmp devops intelligence/testservice", "technicalserviceoverride" true }' response 200 { "build id" "5d69de78674bf10001ed4ce1", "href" "https //spinnaker jenkins gravitant net/job/dash/job/dash ws mesh/job/master/11/", "built at" "2020 02 26t02 42 00 184z", "build status" "pass", "duration" 100572000000, "repo url" "https //github kyndryl net/mcmp devops intelligence/dash ws mesh", "branch" "master", "event type" "", "commit" "d2bff1ef9bed5939d3619cb8f926ab37db6f72b2", "pull request number" "", "build engine" "jenkins", "technical service tag" null, "team tag" null, "details" null, "technical service name" "mcmp devops intelligence/testservice" } build request body explained field data type explanation example value build id string object id 5d69de78674bf10001ed4ce1 href string page url https //peer core gravitant net/dash/api/build/v3/builds/76231 built at string build start time in utc 2020 05 26t02 42 00 184z build status string the build status pass, fail, passed, failed duration uint64 time required to run build in nanoseconds 100572000000 repo url string git repository url https //github com/test servide branch string branch name master, validation, testing event type string the event that triggered the build push, pull request, cron, api, etc commit string git commit id d2bff1ef9bed5939d3619cb8f926ab37db6f72ef pull request number string git pull request number 34 build engine string the name of the build engine travis ci, jenkins, etc details string additional details if any to be provided with the build(raw json file contents) raw json technical service name string technicalservicename is an abstraction for projects, repositories, and pipelines in devops intelligence(project, repo, pipeline name) mcmp devops intelligence/testservice technicalserviceoverride boolean override flag for the technical service true