Re: Access environment variable in email ext template using Jenkins pipeline

2018-04-19 Thread srivathsa . puliyala
Issue solved : https://stackoverflow.com/questions/49884904/access-variable-in-email-ext-template-using-jenkins-pipelin e -- You received this message because you are subscribed to the G

Re: Access environment variable in email ext template using Jenkins pipeline

2018-04-19 Thread srivathsa . puliyala
Issue resolved and answered at : https://stackoverflow.com/questions/49884904/access-variable-in-email-ext-template-using-jenkins-pipeline On Friday, April 13, 2018 at 7:11:57 PM UTC-4, srivathsa...@gmail.com wrote: > > I am trying to attach the template file using Jenkins pipeline, emailext. >

Re: Restrict on which node a scripted pipeline executes

2018-04-14 Thread srivathsa . puliyala
You can use: *node ('Jenkins_slaveName'){* * * *}* On Monday, April 9, 2018 at 4:52:57 AM UTC-4, F'nale wrote: > > Hi All, > I have a pipeline that schedules various jobs. Each job runs on a specific > node. > The problem occurs after the pipeline has been started and the first job > was

Re: Access environment variable in email ext template using Jenkins pipeline

2018-04-14 Thread srivathsa . puliyala
Didn't help when I replaced with *ENV(var="PROJNAME") *in template file*. *I received the email as: ## This is a Heading Job is ENV(var="PROJNAME") ## On Friday, April 13, 2018 at 7:12:58 PM UTC-4, slide wrote: > > You can

Access environment variable in email ext template using Jenkins pipeline

2018-04-13 Thread srivathsa . puliyala
I am trying to attach the template file using Jenkins pipeline, emailext. Variable (PROJNAME) is not accessible in the template file and I am receiving exceptions as an email: *Exception raised during template rendering: No such property: env for class: SimpleTemplateScript21 groovy.lang.Missin

Re: Jenkins Pipeline to be generic

2018-04-13 Thread srivathsa . puliyala
You can use *withCredentials* https://jenkins.io/doc/pipeline/steps/credentials-binding/ On Thursday, April 12, 2018 at 3:06:19 PM 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,