Lookup the ID from the full name (Jenkins )

2019-07-17 Thread krish
Hi all, I am implementing an idea to generate name from the fullname defined in the jenkins. There is document under jenkins on how to generate it. https://javadoc.jenkins-ci.org/hudson/model/User.html. Please let me know, if anyone implemented this setup. Thanks Krish -- You received

groovy split() on User ID

2019-07-24 Thread krish
e these numbers as UserID. *Groovy code:* config.Approvals.split(,).each { mail( to: "{config.Approvals}@domain.com" } help me to work this out. thanks Krish -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscrib

Jenkins Pipeline to be generic

2018-04-12 Thread krish
Hi, how can we use the multiple credentials into jenkins pipeline, in our environment diff applications have diff userid and password, is their a smarter way to define this in jenkins pipeline thank you -- You received this message because you are subscribed to the Google Groups "Jenkins Use

Re: Jenkins Pipeline to be generic

2018-04-17 Thread krish
Thanks Guys. That works On Thursday, 12 April 2018 15:06:19 UTC-4, krish wrote: > > Hi, > > how can we use the multiple credentials into jenkins pipeline, in our > environment diff applications have diff userid and password, is their a > smarter way to define this in jenkins

Is there a way to figure out artifactName in jenkins pipeline without specifying it in the Jenkinsfile?

2018-05-10 Thread krish
Is there a way to figure out artifactName in jenkins pipeline without specifying it in the Jenkinsfile? -- 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 jenkins

Parallel pipeline builds

2018-08-08 Thread krish
I need to run a stage in Jenkinsfile along with shared library pipeline, The reason is, i need to import 2 libraries into jenkinsfile, I tried run the stage in reference to those 2 libraries in my shared lib pipeline, its giving an error: java.lang.NullPointerException ; is there a way i can re

Jenkins Email distribution to All Jenkins User Under People

2020-07-09 Thread Krish S
I am looking to send notification to all user listed on People tab from Jenkins for any notification or special announcement purpose. Any Suggestion ? -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this group and stop rece

Re: How to get owner of upstream build in downstream build without using parameter?

2020-08-04 Thread Krish S
You could try this : def owner = currentBuild.getBuildCauses(‘hudson.model.Cause$UserIDCause’) manager.addShortText(“${Approval.userId[0]} ${Approval.userName}”) Thanks, On Tue, Aug 4, 2020 at 2:04 AM Gajanan Mahajan wrote: > I have upstream and downstream pipelines and in downstream pipeline

Re: [Urgent] CVE-2021-44228 and Jenkins

2021-12-12 Thread Krish S
I am following for the same issue… found below info on community page regarding this vulnerability. https://www.jenkins.io/blog/2021/12/10/log4j2-rce-CVE-2021-44228/ Thanks & Regards, Kritesh On Sun, Dec 12, 2021 at 9:27 AM the.n...@gmail.com wrote: > Hi All, > > I am looking for any informat

Re: Workspace is not getting deleted

2022-07-01 Thread Krish S
One workspace is for build in server which is checking out library, and another checking out source code. Workspace is getting cleared on slave1 as you might have workspace cleanup command running inside node. I would recommend you to try checking out library within node/pipeline within same stage.

Multiple node instances on a single machine

2015-10-13 Thread Krish Sanj
I have a situation here I have 2 different set of jobs, each set needs a different Remote FS root. I don't think there is variable to set Remote fs root. So, I was thinking to setup 2 nodes on same server, is it possible ? eg: server name lnx1 node 1 : lnx1_local_drive with remote fs root as /