New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add URL endpoint for branch that redirects to latest build on that branch #1996
Comments
I've added an endpoint Would that work? |
Yes, that should work. |
Would it redirect to the latest build or the latest finished build? |
Currently, to the latest finished build. |
Awesome |
@roidrage Do you still have the code for this? |
👍 |
+1 that would be neat to have |
Note that this is part of our unreleased v3 API and JSON payload and URIs might change. |
@rkh Is there any way through which I can access the current build status of a branch? Redirecting to latest build might land us to a PR build, whose status is not necessary the status of the repo. For ex: Even if the latest PR build failed, still the travis badge displays "Build passing" because of last merge build passed. |
@rkh Any progress on that? The mentioned API URL only returns JSON format, what about the landing page as requested in the title? So the branch images can point to the right URLs? |
Travis doesn't support specific branch link (travis-ci/travis-ci#1996)
Still no way to have |
Related: #5024 |
I'm also interested in having that feature |
I apologize if I do not understand something, but why this issue is closed, when the bug is not fixed. Or is it "WONTFIX" status? |
Possibly related to #1363 which is a request to have a build history in the API, or #2454, or #4689 - requests for page history for a single branch. Such "branch history" page could be an end-point alternative to "latest build on a branch" page. The last update #1363, from 2014, says:
In #2454, last update is from 2015:
I'd be interested in having that feature - could be very useful for build status tables where not only images show build status of each branch, but also links lead to most recent build page (or history of builds for that branch). I'm also puzzled if this is wonfix or not... EDIT: corrections |
+1 |
1 similar comment
+1 |
Would love to have that too. |
This exists in readthedocs, requires.io, coveralls.io, etc. It should exist in Travis. |
Yes, please. |
Vote for the feature at https://travis-ci.community/t/landing-page-for-specific-branch/6710. (Thanks @DracoBlue via #5024). |
So users can link to a branch from status images.
The text was updated successfully, but these errors were encountered: