Dumpling plugin for Jenkins brings Dumpling DSL capabilities into Jenkins
View Use Dumpling from Jenkins groovy scripts on the plugin site for more information.
This plugin make Dumpling DSL available for:
- Groovy scripts all over Jenkins
- Other plugins
Capturing current Jenkins thread state should be as easy as calling
Dumpling.runtime in script console/scriptler/groovy plugin step to investigate or periodically monitor Jenkins threads. See Dumpling DSL tutorial for more information on how to use dumpling. Note that the DSL differs a bit in Jenkins Groovy interpreters as the ability to configure is a bit limited.
General jstack-like threadddump:
Detailed thread blockage report:
Brief blockage report focused on HTTP handling threads:
Capture threaddump of different java process (most likely on agent):