Re: How do I spin up multiple agents automatically

2022-09-14 Thread 'Dirk Heinrichs' via Jenkins Users
Am Donnerstag, dem 15.09.2022 um 10:18 +0530 schrieb Lalit Shukla: I would like to spin up agents on AWS, what plugin should I use? Go to the plugin manager, select "Available" and filter for "AWS". You'll see it. HTH... Dirk -- Dirk Heinrichs Senior Systems Engineer, Delivery Pipeline OpenT

Re: How do I spin up multiple slaves automatically

2022-09-14 Thread Lalit Shukla
Thanks for correction, I would like to spin up agents on AWS, what plugin should I use? On Wed, Sep 14, 2022 at 6:17 PM 'Dirk Heinrichs' via Jenkins Users < jenkinsci-users@googlegroups.com> wrote: > Am Mittwoch, dem 14.09.2022 um 03:19 -0700 schrieb Lalit Shukla: > > I want my upstream Jenkins

jenkins-fire-cli: simplify the usage of jenkins-cli and job-dsl commandl line

2022-09-14 Thread Weihong Xu
Jenkins community has provided the offical jenkins-cli.jar but it is not intuitive to use it. So I just create a wrapper for it to make it more easier to use. All you need is to pip install jenkins-fire-cli jenkins-fire-cli config set jenkins.url http://your-jenkins-site-url jenkins-fire-cli c

Re: Jenkins Won't start after latest ugrade

2022-09-14 Thread Eric Fetzer
Sorry Mark, used to happening onto fixes in 2 minutes. I'll put the 11 minutes into the vid. Thanks for all the help! On Wed, Sep 14, 2022 at 2:35 PM Mark Waite wrote: > Yet another technique, quoting from the link that I included earlier: > > > Make sure the default JVM is the newly installed

Re: Jenkins Won't start after latest ugrade

2022-09-14 Thread Eric Fetzer
Yep, it's correct but still won't start: [root@nd645bd001 jenkins]# alternatives --config java There is 1 program that provides 'java'. SelectionCommand --- *+ 1 java-11-openjdk.x86_64 (/usr/lib/jvm/java-11-openjdk-11.0.16.0.8-1.el7_9.x

Re: Jenkins Won't start after latest ugrade

2022-09-14 Thread Mark Waite
Yet another technique, quoting from the link that I included earlier: > Make sure the default JVM is the newly installed version. If it is not, run systemctl edit jenkins and set either the JAVA_HOME environment variable or the JENKINS_JAVA_CMD environment variable -- You received this message

Re: Jenkins Won't start after latest ugrade

2022-09-14 Thread Mark Waite
On Wednesday, September 14, 2022 at 2:26:09 PM UTC-6 Eric Fetzer wrote: Thanks for the response Mark. I don't want to backgrade, so jenkins won't > run. Can you give me a clue as to where the filepath is to java in > Jenkins. Just upgrading didn't solve the problem and the vid is too slow

Re: Jenkins Won't start after latest ugrade

2022-09-14 Thread Eric Fetzer
Thanks for the response Mark. I don't want to backgrade, so jenkins won't run. Can you give me a clue as to where the filepath is to java in Jenkins. Just upgrading didn't solve the problem and the vid is too slow for me. He seems to talk a lot about working in the tool. I'm command line RHEL

Re: HTTPS - works okay, but 2 problems

2022-09-14 Thread John Horne
Thanks for that. I looked through bug reports and found someone else saying that port 8080 remained open. It was you (I think) that replied to him/her that the RPM version does not use the sysconfig file. Creating a systemd override to disable port 8080 worked fine. As to the second problem - i

Re: Jenkins Won't start after latest ugrade

2022-09-14 Thread Mark Waite
See https://www.jenkins.io/doc/administration/requirements/upgrade-java-guidelines/ for instructions and a video describing the steps On Wednesday, September 14, 2022 at 10:06:19 AM UTC-6 slide wrote: > The latest weekly releases dropped support for Java 8, so you will need to > update to Java

Re: Jenkins Won't start after latest ugrade

2022-09-14 Thread Alex Earl
The latest weekly releases dropped support for Java 8, so you will need to update to Java 11 at a minimum. You may need to look if there is a separate yum package for Java 11 (e.g., if Java 8 is still the default in your OS, then yum update java may not update to Java 11, it may just update to the

Jenkins Won't start after latest ugrade

2022-09-14 Thread eric....@gmail.com
Here's what I did: yum update jenkins Here's what's happening trying to get version info after upgrade. Also won't start with systemctl start jenkins. [root@nd645bd001 ~]# /bin/jenkins -version Sep 14, 2022 10:56:24 AM executable.Main verifyJavaVersion SEVERE: Running with Java class version 5

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

Counting the number of agents in a running pipeline

2022-09-14 Thread Damien Coraboeuf
Hi, We have heavy duty pipelines running on multiple agents (40-50) in parallel and this number of agents is dynamic. At the end of the pipeline, in a post/always section for example, I'd like to get the list of agents (or their number at least) having been used by this pipeline so that I can

Re: How do I spin up multiple slaves automatically

2022-09-14 Thread 'Dirk Heinrichs' via Jenkins Users
Am Mittwoch, dem 14.09.2022 um 03:19 -0700 schrieb Lalit Shukla: I want my upstream Jenkins job creates multiple slaves when I triggers it and on those slaves I want to install docker in 1 slave and ansible in another , how can I achieve it, Please guide. Spin up multiple agents (please NOT: "

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

How do I spin up multiple slaves automatically

2022-09-14 Thread Lalit Shukla
Hi, I want my upstream Jenkins job creates multiple slaves when I triggers it and on those slaves I want to install docker in 1 slave and ansible in another , how can I achieve it, Please guide. Thanks, Lalit -- You received this message because you are subscribed to the Google Groups "Je

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 group and stop recei