Build for Commit ID

mjonker's Avatar

mjonker

24 Apr, 2020 03:47 PM

Is there any way to get the last build for a Commit ID through the API? I see it's possible to get the last build for a branch, but if I use the commit ID as the branch, that doesn't work.

  1. Support Staff 1 Posted by Feodor Fitsner on 24 Apr, 2020 04:28 PM

    Feodor Fitsner's Avatar

    There is no API for that right now.

    However, if it's GitHub then you can ask for the statuses of specific commit and then take build URL: https://developer.github.com/v3/repos/statuses/#list-statuses-for-a...

  2. 2 Posted by mjonker on 24 Apr, 2020 06:40 PM

    mjonker's Avatar

    That will work. Thanks!

Reply to this discussion

Internal reply

Formatting help / Preview (switch to plain text) No formatting (switch to Markdown)

Attaching KB article:

»

Attached Files

You can attach files up to 10MB

If you don't have an account yet, we need to confirm you're human and not a machine trying to post spam.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac

Recent Discussions

27 Jan, 2023 08:06 PM
27 Jan, 2023 08:05 PM
25 Jan, 2023 03:23 PM
25 Jan, 2023 03:22 PM
23 Jan, 2023 03:29 PM