Expand my Community achievements bar.

SOLVED

how to see which version of code is deployed to AEM cloud?

Avatar

Level 9

either via UI or via a servlet call or similar, is there a handy way to see which version of the code is currently running on a given env?  either by the git commit number, or a version number held somewhere with an auto increment on build?

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

Whenever a code is deployed via CM pipeline, it would display the a git tag and commit that is used for current deployment 

aanchalsikka_1-1702636711748.png

 

If you would match the packages deployed via package manager, they would have a similar naming convention as well.

 

Just Fetch git repository with Tags. That should give you an idea of whats deployed based on Tag

 


Aanchal Sikka

View solution in original post

3 Replies

Avatar

Community Advisor

Hi @TB3dock 

 

If you have package manager access, you can check which version of code is deployed into the instance.

[HOST]:[PORT]/crx/packmgr/index.jsp

Avatar

Community Advisor

@TB3dock Are you not using Cloud Manager to do deployments. If yes, if you have enough role, you can edit and see which branch that pipeline is mapped to, or you can check in CM build details, by downloading the logs to see the version or you can just checkout a read-only version of Adobe Git repo to see the status of the code( i said read only as changing anything directly may cause conflict issues with your existing code sync process if you are maintaining Corporate repo --> Adobe git repo sync)..

Avatar

Correct answer by
Community Advisor

Whenever a code is deployed via CM pipeline, it would display the a git tag and commit that is used for current deployment 

aanchalsikka_1-1702636711748.png

 

If you would match the packages deployed via package manager, they would have a similar naming convention as well.

 

Just Fetch git repository with Tags. That should give you an idea of whats deployed based on Tag

 


Aanchal Sikka