Hi Edd,

"reload existing configuration" won't restart your Jenkins, it takes a 
second, maybe a couple of seconds to apply new configuration but Jenkins is 
not going down
regarding the API I encourage you to join our gitter chat 
room: https://gitter.im/jenkinsci/configuration-as-code-plugin where API 
calls were discussed yesterday - it's simply easier to go through the 
conversation they had there :)

On Wednesday, August 29, 2018 at 4:32:58 PM UTC+2, Edd Grant wrote:
>
> Hi Ewelina,
>
> Thanks for this, I have installed the configuration-as-code plugin and 
> have had a quick look. I can see there's a "reload existing configuration" 
> button in the UI. Is this accessible via the Jenkins API? I ask as we want 
> to be able to dynamically configure the Jenkins master without having to 
> take it out of service.
>
> Many thanks,
>
> Edd 
>
> On Thursday, 9 August 2018 10:02:04 UTC+1, Ewelina Wilkosz wrote:
>>
>> Hi Edd,
>>
>> maybe you can have a look at 
>> https://github.com/jenkinsci/configuration-as-code-plugin
>> release 1.0 is coming soon, we have a number of alphas already out. maybe 
>> it can solve your issues - if not it's always good to hear what's missing :)
>>
>> On Friday, August 3, 2018 at 10:08:52 AM UTC+2, Edd Grant wrote:
>>>
>>> Hi folks,
>>>
>>> We've spent quite a lot of effort automating the configuration of our 
>>> Jenkins (2.122) master using init.groovy.d scripts. It's working really 
>>> well apart from one caveat, being that (as far as I can tell) we have to 
>>> restart the master in order to kick off the scripts in the init.groovy.d 
>>> directory, thus causing downtime for our users.
>>>
>>> I would really like to find a way to be able to run these scripts on an 
>>> already running Jenkins master. Is there an API endpoint (or some other 
>>> means) which would trigger this process?
>>>
>>> Many thanks,
>>>
>>> Edd 
>>>
>>

-- 
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/81240cf1-42f7-472d-9767-9ee225c02186%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to