The build is properly triggered, but I cannot see any message from the build list UI on bitrise.io. Is there anything I’m not doing correctly or is there any issue?
Hi @ldardant,
We are really sorry for the inconvenience! Our website team is working on fixing this issue and it should be resolved soon! I’ll update you here as soon as the fix is deployed!
Also @ldardant regarding the commit message field: If you are using the API the official way that we suggest is using the commit_message field of build_params instead of adding a new env var and updating the value with that. The related Build Trigger docs for your reference: https://devcenter.bitrise.io/api/build-trigger/#git-related
Now scroll to the bottom - you can find the configured curl command there, which includes the parameters you specify in this popup (in this case the message parameter):
I can confirm COMMIT_MESSAGE is working well, but looking at the documentation of BITRISE_GIT_MESSAGE, I was pretty sure I was using the right env var (Available Environment Variables - Bitrise Docs says: commit message - or the message you specified if you triggered the build manually).
The BITRISE_GIT_MESSAGE env var is read from the commit message API param. From the linked docs:
commit message - or the message you specified if you triggered the build manually. This env var is mapped to commit message in the API.
So this env var is basically holds the value you pass as the commit message via the API. In the past it was possible to overwrite it via custom env vars in the api call but that was never our intention - to set this env var’s value please use the related API parameter (commit_message) instead, as the BITRISE_GIT_MESSAGE variable will be set to that value.
The web UI also only reads the value specified via the API endpoint’s commit_message parameter, it does not read custom env vars, only the documented API parameters.
I hope this helps/explains the situation, let us know if you’d have any questions!