Programmatically create Jenkins dashboard view

25 views
Skip to first unread message

Faad Sayaou

unread,
Apr 30, 2019, 2:20:24 AM4/30/19
to Jenkins Users
Hi everyone,
I have several dashboard views and I would like to know if there is a possibility of creating these views using groovy script?

Thanks

Nick Stolwijk

unread,
Apr 30, 2019, 8:20:12 AM4/30/19
to jenkins...@googlegroups.com
You can create views with the JobDSL [1].


Hth,

Nick Stolwijk

~~~ Try to leave this world a little better than you found it and, when your turn comes to die, you can die happy in feeling that at any rate you have not wasted your time but have done your best ~~~

Lord Baden-Powell


--
You received this message because you are subscribed to the Google Groups "Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-use...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/908e3da1-b3da-4683-b620-732f363fd609%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Faad Sayaou

unread,
May 2, 2019, 7:24:18 AM5/2/19
to jenkins...@googlegroups.com
Hi, thanks for your reply. your reply was indeed helpful. Is it also possible to do this via the groovy script? I saw an example in creating a listview but couldn't find any example about dashboard view. My idea was to have one script to run through the jenkins script console and 
everything is created.
Thanks


For more options, visit https://groups.google.com/d/optout.


--

Best Regards / Mit freundlichen Grüßen,

Faad Sayaou,

Embedded Systems for Mechatronics Masters student | FH Dortmund | Germany

Fachhochschule Dortmund

University of Applied Sciences and Arts

Emailfaad...@gmail.com


Reply all
Reply to author
Forward
0 new messages