Internal variable set on startup which contains the current commit/version info - Mendix Forum

Internal variable set on startup which contains the current commit/version info

0

For our test environments, we’d like to assist the testers by adding the commit the current deployment is based on. At the moment, the only way we see to do this is by making an API call to the deployment server on startup and store the result in an entity.

url: https://deploy.mendix.com/api/1/apps/<AppId>/environments/<Mode>

{ "Status" : "Stopped" , "Mode" : "Acceptance", "Url" : "https://calc-accp.mendixcloud.com", "ModelVersion" : "1.1.0.253", "MendixVersion" : "6.10.10", "Production" : "false" }

I’d be much easier if we’d could make a call to get the current commit from the Core API or an internal variable [%CurrentModelVersion%].

So we want the commit currently running on the server, not the current Mendix version.

asked
0 answers