How can I add the pdepend chart to the Jenkins job interface (under the project's title)? Is it actually possible to do so?
Yes it is. The Jenkins description allows for images to be added.
Some time ago you could use embed
but that was removed when XSS protection was added but:
Assuming your charts are under build/pdepend/*
paste the following two lines in the description:
<img type="image/svg+xml" height="300" src="ws/build/pdepend/overview-pyramid.svg" width="500"></img>
<img type="image/svg+xml" height="300" src="ws/build/pdepend/dependencies.svg" width="500"></img>
By using a relative path you don't need to change the path if you rename the project or move the server.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With