Associate an icon with a story for building a branch

When I look for the status icon for this branch, I use the branch parameter in the URL. I would like to do the same with reference to the latest build or build history of this thread.

If this is not possible at present, I would be more than happy if I provided such a function.

+7
travis-ci
source share
2 answers

Travis does not currently implement this.

There is an open problem with requesting such a function:
https://github.com/travis-ci/travis-ci/issues/1996

+3
source share

If you need a URL, the only workaround is to point to:

 https://travis-ci.org/{owner_name}/{repo_name}/branches 

in which the entire history of the construction of branches will be displayed.

Otherwise, access to the history of branch construction can be achieved using the Travis CI API in JSON format (as described in GH # 1996 ), so this is:

 https://api.travis-ci.org//v3/repo/{repository.id}/branch/{branch.name} 

To find your repository.id , see What is the repository identifier discussed in the Travis-CI API?

+2
source share

All Articles