Jenkins - add chart to the job interface

前端 未结 3 892
孤城傲影
孤城傲影 2021-01-05 06:34

How can I add the pdepend chart to the Jenkins job interface (under the project\'s title)? Is it actually possible to do so?

3条回答
  •  情歌与酒
    2021-01-05 07:01

    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:

    
    
    

    By using a relative path you don't need to change the path if you rename the project or move the server.

提交回复
热议问题