Re: jcasc

2022-09-18 Thread 'Dirk Heinrichs' via Jenkins Users
Am Mittwoch, dem 14.09.2022 um 07:53 -0700 schrieb vla...@gmail.com: but in which menu do I find 'view configuration'? Sorry, I thought you've at least read the documentation. My fault. Anyway, it says: "If set up correctly, you should be able to browse the Configurati

Re: jcasc

2022-09-16 Thread Arnaud bourree
Hi, With jcasc plugin installed you view your config as demonstrated in jcasc project page. Arnaud Le ven. 16 sept. 2022, 16:40, leroy bouche a écrit : > Bonjour, > > I understand that your answer is for a jenkins server configured with > jcasc. > But I wanted to know, if there is a way from

Re: jcasc

2022-09-16 Thread leroy bouche
Bonjour, I understand that your answer is for a jenkins server configured with jcasc. But I wanted to know, if there is a way from a Jenkins installed manually to create a jcasc conf file to reproduce it easily ? Thanks in advance, Christine Le mer. 14 sept. 2022 à 14:43, 'Dirk Heinrichs' via Je

Re: jcasc

2022-09-14 Thread vla...@gmail.com
thanks, but in which menu do I find 'view configuration'? Thanks Christine Le mercredi 14 septembre 2022 à 14:43:07 UTC+2, dheinric a écrit : > Am Mittwoch, dem 14.09.2022 um 00:47 -0700 schrieb vla...@gmail.com: > > From an existing jenkins that we want to reproduce (nearly the same), is > it p

Re: jcasc

2022-09-14 Thread 'Dirk Heinrichs' via Jenkins Users
Am Mittwoch, dem 14.09.2022 um 00:47 -0700 schrieb vla...@gmail.com: >From an existing jenkins that we want to reproduce (nearly the same), is it >possible to create a Jcasc Script? Just click on "View existing configuration", copy/paste it and modify as needed. Keep i

Re: [JCasC] job parameters lost when re-starting docker container / reloading existing configuration

2021-02-22 Thread 'Björn Pedersen' via Jenkins Users
Yes, this seems like a general chicken-and-egg problem when specifying parameter-config in the Jenkinsfile. It also affects any updated Jenkinsfile that adds a new parameter/changes a parameter , as these changes only take effect *after * the job is started. The only really working solution

RE: [JCasC] job parameters lost when re-starting docker container / reloading existing configuration

2021-02-18 Thread Reinhold Füreder
Hi Danny et al, I think, I just stumbled over the same problem: * parameterized pipeline + Jenkins Docker container restart + JCasC + JobDSL (that is re-generating the parameterized scripted pipeline – pipeline from SCM -- during Jenkins startup via “j.j.plugin.JenkinsJobManagement#createO

Re: [JCasC] can i utilize variables?

2020-07-24 Thread j
Thank you, Ivan and Mark. I shall try your recommendation. :) Regards, J On Friday, July 24, 2020 at 10:24:13 AM UTC-7, Mark Waite wrote: > > In case it helps, here is an example that sets the Jenkins URL >

Re: [JCasC] can i utilize variables?

2020-07-24 Thread j
Thank you, Phillip. I shall try your recommendation. :) Regards, J On Friday, July 24, 2020 at 1:52:53 PM UTC-7, Phillip Bailey wrote: > > Hi, > > Jinja templates are great for such use. However, if you fancy something > more "exotic", go templates are something worth a go. > > https://git

Re: [JCasC] can i utilize variables?

2020-07-24 Thread j
Thank you Nigel. I shall try your recommendation. :) Regards, J On Friday, July 24, 2020 at 2:55:48 AM UTC-7, nigel.a...@braincorp.com wrote: > > I don't believe JCasC support variables in the yaml, but in our project we > use jsonnet to be able to template or use > v

Re: [JCasC] can i utilize variables?

2020-07-24 Thread Phillip Bailey
Hi, Jinja templates are great for such use. However, if you fancy something more "exotic", go templates are something worth a go. https://github.com/hairyhenderson/gomplate Phillip On 24/07/2020 16:57, Ivan Fernandez Calvo wrote: > Hi, > > You can use environment variables inside of your JC

Re: [JCasC] can i utilize variables?

2020-07-24 Thread Mark Waite
In case it helps, here is an example that sets the Jenkins URL based on an environment variable set from the script that launches it

Re: [JCasC] can i utilize variables?

2020-07-24 Thread nigel.a...@braincorp.com
I don't believe JCasC support variables in the yaml, but in our project we use jsonnet to be able to template or use variables in the creation of the casc. -Nigel On Thursday, July 23, 2020 at 1:59:41 PM UTC-7 j wrote: > Hi! > > I am new to this. I have been trying to f

Re: [JCasC] Integration with the plugin 'Micro Focus Application Automation Tools'

2020-06-09 Thread Alberto Scotto
Found it! https://github.com/jenkinsci/configuration-as-code-plugin/blob/master/docs/PLUGINS.md I'm gonna submit a PR to update the README with a link to that page. Il giorno martedì 26 maggio 2020 17:08:31 UTC+2, Alberto Scotto ha scritto: > > Hi, > > We are looking for a way to configure the

Re: JCasC not working with vSphere cloud retention strategy

2020-02-07 Thread Ben Ptacek
Thanks! I will give Gitter a shot. On Friday, February 7, 2020 at 11:43:00 AM UTC-6, Mark Waite wrote: > > The configuration as code gitter channel > https://gitter.im/jenkinsci/configuration-as-code-plugin is probably a > good place to start the discussions about specific changes that might b

Re: JCasC not working with vSphere cloud retention strategy

2020-02-07 Thread Mark Waite
The configuration as code gitter channel https://gitter.im/jenkinsci/configuration-as-code-plugin is probably a good place to start the discussions about specific changes that might be needed. The contributing guide for that plugin describes how to prepare pull requests for success https://github

Re: JCasC not working with vSphere cloud retention strategy

2020-02-07 Thread Ben Ptacek
Thanks Mark. Understood on doing the fix and PR. Happy to do that, but I have not done any Jenkins Plugin development. So if anyone has any pointers on how to fix, that would be appreciated. On Friday, February 7, 2020 at 10:51:07 AM UTC-6, Mark Waite wrote: > > https://plugins.jenkins.io/vsphe

Re: JCasC not working with vSphere cloud retention strategy

2020-02-07 Thread Mark Waite
https://plugins.jenkins.io/vsphere-cloud lists that the plugin is maintained by Jason Swager, Eric Lordahl, and Peter Darton . They would be the ones that would likely evaluate a pull request proposing a fix. Pull requests should be submitted to https://github.com/jenkinsci/vsphere-cloud-plugin/