Need to show git build sha and platform version in dashboard

Hi,

I want to show git build SHA the uber jar was built on as well as cuba platform version in dashboard to admin user. Can someone please guide me how to proceed.

Thanks

Hi,

the buildInfo gradle tasks lets you do that: buildInfo - CUBA Platform. Developer’s Manual

You can get programmatic access through the BuildInfo bean: cuba/BuildInfo.java at master · cuba-platform/cuba · GitHub

Bye
Mario

1 Like