Re: Coding a new type of agent

2024-05-17 Thread 'Jesse Glick' via Jenkins Developers
On Fri, May 17, 2024 at 3:24 PM Ivan Pavlović wrote: > Can you please share more details about your suggestion? Code examples? > Best to study the `kubernetes` plugin. -- You received this message because you are subscribed to the Google Groups "Jenkins Developers" group. To unsubscribe from

Re: Coding a new type of agent

2024-05-17 Thread Ivan Pavlović
Hi Jesse, Can you please share more details about your suggestion? Code examples? Best regards, Ivan On Fri, May 17, 2024 at 6:30 PM 'Jesse Glick' via Jenkins Developers < jenkinsci-dev@googlegroups.com> wrote: > On Thu, May 16, 2024 at 2:26 PM Carlos Sanchez wrote: > >> It's been a while but

Re: Coding a new type of agent

2024-05-17 Thread 'Jesse Glick' via Jenkins Developers
On Thu, May 16, 2024 at 2:26 PM Carlos Sanchez wrote: > It's been a while but I believe that for the declarative agent > definition you need something like KubernetesDeclarativeAgent > Yes, but better to start by getting everything to work in Scripted syntax by having a `Cloud` able to provision

Re: Coding a new type of agent

2024-05-17 Thread Ivan Pavlović
Thank you Carlos, i'll take a look at those two links, and come back to you. Best regards, Ivan On Thu, May 16, 2024 at 8:25 PM Carlos Sanchez wrote: > It's been a while but I believe that for the declarative agent > definition you need something like KubernetesDeclarativeAgent [1] In > that di

Re: Coding a new type of agent

2024-05-16 Thread Carlos Sanchez
It's been a while but I believe that for the declarative agent definition you need something like KubernetesDeclarativeAgent [1] In that dir you can find the other declarative pipeline code I would not bring all the options from the k8s plugin as it has a lot of accumulated cruft. You can do with

Coding a new type of agent

2024-05-16 Thread Ivan Pavlović
Hi all, I have been looking into the kubernetes plugin for jenkins as an inspiration for my own plugin i would like to write. This plugin should provide a new type of agent that can be used in the declarative pipeline. Also, it would need to provide users an option to create a new type of cloud.