JCasC - seed job with shared lib/imports

2023-03-20 Thread Łukasz Dywicki
it working *without* pipeline or pipeline which creates seed jobs? All I look for is a plain example where seed jobs defined with jcasc can import a shared lib class. Cheers and thanks in advance, Łukasz -- You received this message because you are subscribed to the Google Groups "Jenkins Use

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 ther

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

Re: jcasc

2022-09-14 Thread vla...@gmail.com
the same), is > it possible to create a Jcasc Script? > > > Just click on "View existing configuration", copy/paste it and modify as > needed. Keep in mind that the other Jenkins wont be able to decrypt the > credentials, so it's best to move them to an externa

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<mailto: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 m

jcasc

2022-09-14 Thread vla...@gmail.com
Hello, >From an existing jenkins that we want to reproduce (nearly the same), is it possible to create a Jcasc Script? Thanks in advance, Christine -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this g

Re: How to write a yaml configuration for certificate with JCasC plugin?

2022-02-22 Thread davide.cavestro
Did you eventually find a solution? Davide On Tuesday, June 11, 2019 at 3:12:24 PM UTC+2 andreas.ch...@gmail.com wrote: > Upgraded to 1.20 and I got the same error. > Sigh, wish they could actually get the syntax set once and for all. > > -- You received this message because you are subscribe

[JCasC] Configure mailer SMTP credentials

2021-09-13 Thread Alan Sparks
Can anyone point me to an example of using SMTP configuration with JCasC? I tried adding a bogus username and password to the "email notification" configuration and dumping the config, but the configuration comes out as: smtpPassword: "{AQAAABA...}" Can someone point to

RE: LTS 2.303.1 and JCasC / RBAC - startup failure

2021-08-25 Thread Reinhold Füreder
Just for the sake of slightly more details: * Without RBAC, but exact these versions of LDAP and JCasC (and actually many many more plugins) this works fine with 2.303.1 Cheers, Reinhold From: jenkinsci-users@googlegroups.com On Behalf Of Alan Sparks Sent: Mittwoch, 25. August 2021 22:11

LTS 2.303.1 and JCasC / RBAC - startup failure

2021-08-25 Thread Alan Sparks
I've been using JCasC to configure Jenkins LTS and the role-based auth plugin for a long time, and today I tested starting a new server running LTS 2.303.1. All else remaining the same (Java version, plugin versions), 2.289.3 starts fine, but 2.303.1 crashes on startup in the

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

2021-02-22 Thread 'Björn Pedersen' via Jenkins Users
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 --

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

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

2020-10-16 Thread Danny Trunk
we only want to get the parameters' } } Any ideas on how I can extend my workaround or better how to avoid removing existing job parameters when reloading existing configuration? I don't know if this can be considered a bug or an enhancement request for JCasC to not remove those

Re: [JCasC] can i utilize variables?

2020-07-24 Thread j
Ivan Fernandez Calvo > wrote: > >> Hi, >> >> You can use environment variables inside of your JCasC file. If you need >> something more complicated you can use a Jinja template and >> https://github.com/kolypto/j2cli to make the transformation to YAML >> &g

Re: [JCasC] can i utilize variables?

2020-07-24 Thread j
ng 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 JCasC file. If you need > something more complicate

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 <https://jsonnet.org/> to be abl

Re: [JCasC] can i utilize variables?

2020-07-24 Thread Phillip Bailey
bles inside of your JCasC file. If you need > something more complicated you can use a Jinja template and > https://github.com/kolypto/j2cli to make the transformation to YAML > -- You received this message because you are subscribed to the Google Groups "Jenkins Users" gro

Re: [JCasC] can i utilize variables?

2020-07-24 Thread Mark Waite
-lfs/blob/8d598b92eea612f4c8457f5caf87865609c93e65/docker_run.py#L156> . On Fri, Jul 24, 2020 at 9:58 AM Ivan Fernandez Calvo < kuisathave...@gmail.com> wrote: > Hi, > > You can use environment variables inside of your JCasC file. If you need > something more complicated you can us

[JCasC] can i utilize variables?

2020-07-24 Thread Ivan Fernandez Calvo
Hi, You can use environment variables inside of your JCasC file. If you need something more complicated you can use a Jinja template and https://github.com/kolypto/j2cli to make the transformation to YAML -- You received this message because you are subscribed to the Google Groups "Je

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 <https://jsonnet.org/> 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

[JCasC] can i utilize variables?

2020-07-23 Thread j
Hi! I am new to this. I have been trying to figure out a way to utilize variables in the yaml file. Help. Regards, J -- 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

how to use port remapping using JNLP with Dockerized Jenkins using JCASC ?

2020-06-17 Thread 'monger_39' via Jenkins Users
Hi,I have been experimenting with Dockerized Jenkins (incl JCasC). Only the master is dockerized for now.My Jenkins agents are started from the agent, and connect via JNLP.The master (internal) port is 8080. the JNLP port is 5. Both defined in the JCasC configuration.   location

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

2020-06-09 Thread Alberto Scotto
way to configure the plugin Micro Focus Application > Automation Tools > <https://plugins.jenkins.io/hp-application-automation-tools-plugin/> with > JCasC. > The yaml generated by clicking on the View button does not contain anthing > about the aforementioned plugin. >

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

2020-05-26 Thread Alberto Scotto
Hi, We are looking for a way to configure the plugin Micro Focus Application Automation Tools <https://plugins.jenkins.io/hp-application-automation-tools-plugin/> with JCasC. The yaml generated by clicking on the View button does not contain anthing about the aforementioned plugin. C

problem running 2 Docker/Jenkins/JCASC instances using JNLP

2020-05-18 Thread 'monger_39' via Jenkins Users
Hi all, I am running a Docker/Jenkins configured via JCASC. For the slaves I am using JNLP.My container is started using  "-p 8080:8080 -p 5:5" and this works fine. The JNLP port is configured in the JCAC config through:    slaveAgentPort: 5  However, if I star

Re: JCasC not working with vSphere cloud retention strategy

2020-02-07 Thread Ben Ptacek
was done by Peter Darton. >>> >>> Since this is an open source community, the most likely way to get a fix >>> you need is to create the fix and submit a pull request with the fix. >>> While the maintainer evaluates your pull request, you can use the fix >>>

Re: JCasC not working with vSphere cloud retention strategy

2020-02-07 Thread Mark Waite
the fix >> yourself and assure that it works well. >> >> On Fri, Feb 7, 2020 at 9:43 AM Ben Ptacek wrote: >> >>> Is there anyone to help with this existing bug regarding the retention >>> strategy and JCasC? >>> >>> >>> https://

Re: JCasC not working with vSphere cloud retention strategy

2020-02-07 Thread Ben Ptacek
he fix and submit a pull request with the fix. > While the maintainer evaluates your pull request, you can use the fix > yourself and assure that it works well. > > On Fri, Feb 7, 2020 at 9:43 AM Ben Ptacek > > wrote: > >> Is there anyone to help with this exi

Re: JCasC not working with vSphere cloud retention strategy

2020-02-07 Thread Mark Waite
he fix. While the maintainer evaluates your pull request, you can use the fix yourself and assure that it works well. On Fri, Feb 7, 2020 at 9:43 AM Ben Ptacek wrote: > Is there anyone to help with this existing bug regarding the retention > strategy and JCasC? > > > https://issues.

JCasC not working with vSphere cloud retention strategy

2020-02-07 Thread Ben Ptacek
Is there anyone to help with this existing bug regarding the retention strategy and JCasC? https://issues.jenkins-ci.org/browse/JENKINS-60029?page=com.atlassian.jira.plugin.system.issuetabpanels%3Aall-tabpanel Thanks Ben -- You received this message because you are subscribed to the Google

Re: How to write a yaml configuration for certificate with JCasC plugin?

2019-06-11 Thread Andreas Magnusson
Upgraded to 1.20 and I got the same error. Sigh, wish they could actually get the syntax set once and for all. -- 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

Re: How to write a yaml configuration for certificate with JCasC plugin?

2019-06-11 Thread Andreas Magnusson
Hi, this matches my config which looks like this: - certificate: id: "our-keystore" description: "certificate-alias" keyStoreSource: fileOnMaster: keyStoreFile: "/var/jenkins_conf/secrets/ComodoCodeSigning2018.p1

Re: How to write a yaml configuration for certificate with JCasC plugin?

2019-06-11 Thread Andreas Magnusson
This matches my configuration except that I had to add the alias of the certificate as "description". Not sure if that was the error I got though. Eveything else matches my config. /Andreas -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To u

How to write a yaml configuration for certificate with JCasC plugin?

2019-06-09 Thread Oxygen
HI I am using JCasC plugin to backup configurations of our team's Jenkins server, the configuration contains some certificates in credential configuration, I added those certificates in the yaml file as follows: credentials: system: domainCredentials: - creden

JCasC: Fail Jenkins boot when problem occurs with applying the YAML

2019-01-10 Thread Oliver Gondža
Is there a way to get the Jenkins process aborted when JCasC fails to apply the config so one do not have to analyze logs to tell success from failure? Thanks! -- oliver -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubs

Re: Error when manually updating Role-Strategy, when initially configured via JCasC plugin

2019-01-03 Thread spikkie
hi, I created folloing issue https://issues.jenkins-ci.org/browse/JENKINS-55394 Error when manually updating Role-Strategy, when initially configured via JCasC plugin kind regards, Bas Am Donnerstag, 3. Januar 2019 12:43:08 UTC+1 schrieb Oleg Nenashev: > > Could you please create a J

Re: Error when manually updating Role-Strategy, when initially configured via JCasC plugin

2019-01-03 Thread Oleg Nenashev
Could you please create a Jenkins JIRA issue for that? https://wiki.jenkins.io/display/JENKINS/How+to+report+an+issue On Wednesday, December 19, 2018 at 12:57:37 PM UTC+1, spikkie wrote: > > Hi Jenkins JCasC-Plugin and Role-Strategy-Plugin teams, > > I found a work around fo

Re: Error when manually updating Role-Strategy, when initially configured via JCasC plugin

2018-12-19 Thread spikkie
Hi Jenkins JCasC-Plugin and Role-Strategy-Plugin teams, I found a work around for this issue. :-) Initially when Jenkins has started I go to "role-strategy/manage-roles" http://localhost/role-strategy/manage-roles and then just click "Save" button After this "save&quo

Error when manually updating Role-Strategy, when initially configured via JCasC plugin

2018-12-08 Thread spikkie
Hi Jenkins JCasC-Plugin and Role-Strategy-Plugin teams, following isse: I have configured Role-Strategy using JCasC plugin see configuration and the end. But now following error occurs when updating manually http://localhost/jenkins/role-strategy/assign-roles User/group to add