Hudson Build-Time Trend Plugin?

前端 未结 3 1910
醉话见心
醉话见心 2021-02-11 14:33

Is there a plugin which would allow me to create a \"trend\" graph for a hudson build which shows the build time for that project?

I\'m tasked with speeding up the build

3条回答
  •  被撕碎了的回忆
    2021-02-11 14:57

    To follow up from the @Jamie Cooks's answer, you don't need to provide full url for this graph, you can just use the relative path like this in your job description -

    
    

    Benefit of this is that you don't need to change/customize the url for each job.

    Moreover, to enable this on all your jobs you can use this groovy script

    import hudson.model.*
    import hudson.maven.*
    import hudson.tasks.*
    
    for(item in Hudson.instance.items) 
    {
      println("job $item.name")
      item.setDescription("");
    }
    

提交回复
热议问题