It’s possible to manually trigger a build via API but only for valid remote refs (specifically, for what can be passed to git clone --branch
).
If the commit you are interested in doesn’t qualify, you can always get around that by creating a branch or a tag at it (then a build would be created automatically since that’s a new change).