Good idea, you're totally right.
Thank you.

2012/9/6 Stephen Connolly <[email protected]>

> Why not have your plugin expose the config.xml itself... IOW fix your own
> problem. Also prevents requiring the latest version of jenkins
>
>
> On 6 September 2012 08:58, Michaël Pailloncy <[email protected]> wrote:
>
>> Merging is not really the problem. I've created a plugin to compare and
>> merge config.xml files of job.
>> But since we can't access to remote global config.xml file, we can't
>> merge it.
>>
>> Michaël
>>
>>
>> 2012/9/6 kayvi <[email protected]>
>>
>>> Did you find a solution on merging configuration files?
>>>
>>> Am Mittwoch, 25. Juli 2012 13:48:47 UTC+2 schrieb mpapo - Michaël
>>> Pailloncy:
>>>>
>>>> Yes, I would not be happy too :-)
>>>> But I have supposed that someone with administration privileges could
>>>> get the global configuration of Jenkins like it's possible with job
>>>> configuration.
>>>>
>>>> My goal is to compare my local global config with a remote one.
>>>> I'm creating a plugin to compare job configuration and have the ability
>>>> to merge some parts of the remote configuration file (using Remote API).
>>>> I wish to do the same thing with global configuration of both local and
>>>> remote Jenkins.
>>>>
>>>> 2012/7/25 Stephen Connolly <stephen.al...@gmail.**com>
>>>>
>>>>>
>>>>>
>>>>> On 25 July 2012 11:09, Stephen Connolly <stephen.al...@gmail.**com>wrote:
>>>>>
>>>>>> sounds like a security issue.
>>>>>>
>>>>>>
>>>>> By that ^^^ I mean I would not be happy if somebody could easily do
>>>>> that to my instance as there can often be secrets embedded in the global
>>>>> config (because of lack of adoption by plugins of the credentials store
>>>>> that I convinced by employers to OSS earlier this year)
>>>>>
>>>>>
>>>>>> you should be able to access it via the jenkins cli interface and a
>>>>>> suitable groovy script ;-)
>>>>>>
>>>>>>
>>>>>> On 25 July 2012 11:04, Michaël Pailloncy <[email protected]> wrote:
>>>>>>
>>>>>>> Thanks for your reply.
>>>>>>> Excuse me, I have not phrased my question correctly.
>>>>>>> But I wanna get the global config.xml of Jenkins, not the specific
>>>>>>> config file of a job.
>>>>>>>
>>>>>>>
>>>>>>> 2012/7/25 Stephen Connolly <stephen.al...@gmail.**com>
>>>>>>>
>>>>>>>> a user with the extended read permission can get a job's config.xml
>>>>>>>> from an URL like
>>>>>>>>
>>>>>>>> $jenkins_scheme://$jenkins_**host:$jenkins:port/$jenkins_**
>>>>>>>> context/jobs/$job_name/config.**xml
>>>>>>>>
>>>>>>>> e.g.
>>>>>>>>
>>>>>>>> http://localhost:8080/jobs/**foo/config.xml<http://localhost:8080/jobs/foo/config.xml>
>>>>>>>>
>>>>>>>>
>>>>>>>> On 25 July 2012 10:19, Michaël Pailloncy <[email protected]> wrote:
>>>>>>>>
>>>>>>>>> Nobody has never had this problematic?
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> 2012/7/23 mpapo - Michaël Pailloncy <[email protected]>
>>>>>>>>>
>>>>>>>>>  Hi,
>>>>>>>>>>
>>>>>>>>>> Is it possible to access to a remote config.xml file from another
>>>>>>>>>> Jenkins with the remote API ?
>>>>>>>>>> I would like to get it like I can get a job config.xml file.
>>>>>>>>>>
>>>>>>>>>> Thanks in advance !
>>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>
>>>>>>>
>>>>>>
>>>>>
>>>>
>>
>

Reply via email to