How to pass build.xml from one Jenkins to another Jenkins

26 views
Skip to first unread message

Jenkins

unread,
Feb 18, 2016, 1:40:21 AM2/18/16
to Jenkins Users
Hello,

I am looking for a solution how to to pass the build.xml file from one Jenkins to another Jenkins.
The build.xml has specific information for the project where the one jenkins needs that information how to go about?
Please help me on this.

Thanks,
Naveen

Ioannis Moutsatsos

unread,
Feb 18, 2016, 11:03:33 AM2/18/16
to Jenkins Users
Can you please clarify. Do you want to pass information from one Jenkins job to another or one Jenkins instance to another Jenkins instance?

Victor Martinez

unread,
Feb 18, 2016, 12:31:59 PM2/18/16
to Jenkins Users
Might be useful if you look at the job import plugin, since you can import jobs between jenkins instances. Rather than copying files or running jenkins CLI.

BTW, you can get rid of that actions if you use some Configuration as Code paradigms such as JobDSL, Pipeline or Jenkins builder

Cheers

Reply all
Reply to author
Forward
0 new messages