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 <[email protected] <javascript:>>
>
>>
>>
>> On 25 July 2012 11:09, Stephen Connolly <[email protected]<javascript:>
>> > 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]<javascript:>
>>> > 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 <[email protected] <javascript:>>
>>>>
>>>>> 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
>>>>>
>>>>>
>>>>> On 25 July 2012 10:19, Michaël Pailloncy <[email protected]<javascript:>
>>>>> > wrote:
>>>>>
>>>>>> Nobody has never had this problematic?
>>>>>>
>>>>>>
>>>>>> 2012/7/23 mpapo - Michaël Pailloncy <[email protected] <javascript:>>
>>>>>>
>>>>>>> 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