Groovy script to create a Dashboard?

16 views
Skip to first unread message

Adam von Nieda

unread,
Oct 2, 2018, 6:24:04 PM10/2/18
to Jenkins Users

   Hi folks,

   Just getting started with Groovy, and I need to create some 30 or so dashboards. Given a list of the names, can someone help me with a Groovy script to create them? 

I've got a top level view, and I want to list the dashboards underneath, one each for a number of hosts to manage. The top level url is

https:/<servername>/jenkins/view/TopFolder/

   Any insight would be appreciated! 

Jenkins version: 2.121.3 LTS
Dashboard view plugin version: 2.9.11 (https://wiki.jenkins.io/display/JENKINS/Dashboard+View

Thanks very much!

   -Adam vonNieda
Reply all
Reply to author
Forward
0 new messages