How do I clear my Jenkins/Hudson build history?

后端 未结 14 1643
醉话见心
醉话见心 2020-12-07 08:10

I recently updated the configuration of one of my hudson builds. The build history is out of sync. Is there a way to clear my build history?

Please and thank you

14条回答
  •  感情败类
    2020-12-07 08:32

    If using the Script Console method then try using the following instead to take into account if jobs are being grouped into folder containers.

    def jobName = "Your Job Name"
    def job = Jenkins.instance.getItemByFullName(jobName)
    

    or

    def jobName = "My Folder/Your Job Name
    def job = Jenkins.instance.getItemByFullName(jobName)
    

提交回复
热议问题