load Jenkins pipeline shared library failed

2020-05-29 Thread james
Hi, Can anyone please help me? I have a pipeline shared library in Groovy. When I tried to load and run it in Jenkins multibranch pipeline, then I got below error. Here are installed plugins. Pipeline: Groovy 2.80 Pipeline: Groovy HTTP 0.2.1 Pipeline: Shared Groovy Libraries 2.16

Jenkins Agent/Slave on Windows Disconnect Issue

2020-05-29 Thread Vinod Krishna
Hi, We have around 10 Jenkins Agents, each running on its own Windows 2016 EC2 instance. Java_slave is running as a service. The Jenkins master runs on a separate Amazon Linux instance. We are able to establish connectivity between the Master and Agents and jobs are running fine.

Agents with vSphere plugin shutting down unexpectedly

2020-05-29 Thread Randy Beckwith
I'm using the vSphere plugin to manage a series of Windows Server 2012 R2 agents. The basic usage scenario is to have the agents normally powered down. When a job starts, revert the VM to a base snapshot, power on the VM, run the job and then shut down the VM. Versions in use: Jenkins 2.187

Re: programming configuration

2020-05-29 Thread leroy bouche
many thanks, I'll have a look! Cheers Le vendredi 29 mai 2020 11:50:35 UTC+2, leroy bouche a écrit : > > Hello, > As mention at 9min:40s, here: > https://www.youtube.com/watch?v=38SAyBLSHUM=youtu.be > > is there a way to programm the jenkins configuration to avoid the horrible > clicking? >

Load parameter choice from file

2020-05-29 Thread Antonio Gomez
Hello, I am loading a choice type parameter from a file. It works fine, but the first time it loads, all the values ​​on one line appear in the dropdown. It is solved entering configuration and returning to save the pipeline. Do you have any solution for it? Thanks -- You received this

Re: how to use git commands inside a Multi Branch Project?

2020-05-29 Thread Gianluca
Hi Christian, I'm doing it in a pipeline that runs various git commands to check out, push and open PRs automatically for some DevOps. This is how I did: I've created a bash script git_password_helper.sh with the following content: #!/bin/sh exec echo "$GITHUB_PSW" The in the pipeline, I

Re: programming configuration

2020-05-29 Thread Baptiste Mathus
Yes. This video is 4 years old. Since then "Jenkins configuration as code" (aka JCasC) has been developed. See https://www.jenkins.io/projects/jcasc/ for more information, and do not hesitate to come back here to ask when you'll have specific questions. Cheers! Le ven. 29 mai 2020 à 11:50, leroy

Re: Invoking the /build endpoint for a job with curl dropping parameters not explicitly passed via json

2020-05-29 Thread Sushmitha Krishnan
Hai.. I need to send the whole json string to the jenkin's parameter. Do u have any idea how to do that. On Thursday, 20 February 2020 16:00:04 UTC, Jay Hayes wrote: > > Fair enough but, for whatever reason, I can only get the parameters passed > as JSON data when I use the /build endpoint.

Re: how to use git commands inside a Multi Branch Project?

2020-05-29 Thread Christian Baumann
Hi all, I know this topic is rather old, but I´m facing the very same issue and was not able to find a proper solution. Has anything changed since this question has been raised and someone could provide an answer? Many thanks, Christian Am Mittwoch, 30. November 2016 12:20:22 UTC+1 schrieb

programming configuration

2020-05-29 Thread leroy bouche
Hello, As mention at 9min:40s, here: https://www.youtube.com/watch?v=38SAyBLSHUM=youtu.be is there a way to programm the jenkins configuration to avoid the horrible clicking? thanks in advance, Christine -- You received this message because you are subscribed to the Google Groups "Jenkins