简体   繁体   中英

Capture build parameters as html report in Jenkins

As part of release management process, there can exist parallel releases targeting to overlap on environments.

Whats the best way to capture build parameters in Jenkins and add to a custom HTML report.

Like i want to see the following in the report ... 1. Build parameters used in build#XXX of build_job_releaseYYY 2. Sort the tabular report of build parameters to see how many releases have gone through Test1 environment etc

The approach i was thinking ...

  1. Create an xml node for every set of build parameter ..

  2. Some how keep adding these nodes to an xml - buildReport.xml

  3. Generate an html report BuildReport.xml from the buildReport.xml to display a table of the node

  4. The html report should be sortable.

There is the simple parameterized build report which may do what you want as it list the build parameters used in individual builds

在此处输入图片说明

This report is available of the job page as a link

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM