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

Re: Jenkins Pipeline to be generic

2018-04-14 Thread Srivathsa Reddy
For multiple usages of withCredentials: node { withCredentials([[$class: 'UsernamePasswordMultiBinding', credentialsId: "TokenID_1", usernameVariable: 'USERNAME_1',

Re: println in "call()" in "vars/xx.groovy" shows in console, but println in defed method in class in "vars/xx.groovy" is just ignored

2018-04-14 Thread Ilguiz Latypov
On Saturday, 11 February 2017 00:49:42 UTC-5, David Karr wrote: > > I'm seeing some odd behavior with "println" calls in shared library > methods, and a perhaps related issue with printing a shared library object > in a Jenkinsfile. > Nice to see an answer to this by Jon S a month later where

Re: BlueOcean observations from user

2018-04-14 Thread Sverre Moe
lørdag 14. april 2018 01.04.29 UTC+2 skrev vivek følgende: > > > What are branches sorted by? It is certainly not Branch, Completed or any >> of the other columns. It seems none of the visible columns are used for >> sort criteria. >> > > ​We show pagin​ated list of branches. Branches are sorted

Re: Jenkins not running on apache server

2018-04-14 Thread Mark Waite
Jenkins does not support jdk 10. Use jdk 8. Mark Waite On Fri, Apr 13, 2018, 5:11 PM Vikas Gupta wrote: > Hi all, > I am getting the below error while starting the tomcat server , trying to > run jenkins on tomcat server, how do i troubleshoot this problem? > i am

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