Hi,
How do we install a java agent using Jenkins?
Install normal java agent. Also for Jenkins you can configure the Mbeans after you start receiving Jenkins data from the application.
This should get you started.
https://docs.appdynamics.com/display/PRO45/Monitor+JMX