Jenkins migrate views between jenkins master (jenkins copy view to new jenkins server)

1,074 views
Skip to first unread message

Dave Horner

unread,
May 23, 2016, 6:44:05 PM5/23/16
to Jenkins Users
Hello all,
I am interested in copying the views defined on one master to another master.  I do not see a way to get the view data from the master.

there is:
create-view
    Creates a new view by reading stdin as a XML configuration.
  update-view
    Updates the view definition XML from stdin. The opposite of the get-view command.
which would provide a means to automate the creation of the views, but I do not see a list-views as there are list-jobs and list-plugins which allows me to migrate jobs and plugins.


Is there a place views are stored that I could copy the data that way?
Is there some other means of migrating view data from one master to another?

Thanks so much,
--dave

Zoratto Thomas

unread,
May 24, 2016, 2:36:35 AM5/24/16
to jenkins...@googlegroups.com
Hi, 

I think this is not exactly what you are looking for but when you define your views (along with your jobs) with the job DSL plugin it becomes straightforward to migrate all this stuff from a Jenkins instance to another 

Good luck 

Thomas 
--
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/ae2466e7-6669-4192-8556-6fbea0330c25%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages