RE: Jenkins init.groovy compilation

2017-12-18 Thread Reinhold Füreder
Hi Jason, yes, I remember stumbling over this as well. Partially I have actually uses a workaround for that compilation failure: However, I am not sure it is worth it – because it is based on using reflection, e.g.: def instance = Jenkins.getInstance() … // LDAPSecurityRealm class depends

Re: Declarative Pipeline with variable number of stages

2017-12-18 Thread Andreas Røsdal
On Sunday, December 17, 2017 at 1:39:22 PM UTC+1, Christopher Orr wrote: > > Hi there, > > On Sun, 17 Dec 2017, at 13:21, Andreas Røsdal wrote: > > I would like to implement a declarative pipeline in Jenkin, using only > one Jenkinsfile, > > but have variable number of stages depending upon whi

Re: Build step (Execute shell) in Editable Email Notification

2017-12-18 Thread Slide
Do you mean the log of the build? If so, there is a checkbox in the advanced area of the Editable Email Notification that allows you to attach the build log. On Mon, Dec 18, 2017 at 8:14 AM Akshay Maldhure wrote: > I'm using Jenkins to configure a job which has a couple of commands in the > "Exe

Exclude files and/or path in the build

2017-12-18 Thread Stéphane Claes
Hi Sorry for my English but I'm not fluent in English I make a build project with Jenkins (2.89.1) and I'd like make a build but without some path and files, but I don't know where can I put this informations in build ? For informations I work with graphical Jenkins. Can you help me ? In adv

Build step (Execute shell) in Editable Email Notification

2017-12-18 Thread Akshay Maldhure
I'm using Jenkins to configure a job which has a couple of commands in the "Execute shell" build step. I'm also using the "Editable Email Notification" plugin to send a post build email. I would like to include my build step commands in the email body. Is there any way to do this? -- You re

Fail 1 stage in jenkinsscript

2017-12-18 Thread NickA
Hi all, I have a debug script to experiment with Jenkins Scripting I have three problems: 1. It's sequential, so first it should configure the machine and install the product, then the first test set starts and if that is finished, the second one starts. They all run on 1 machine so I don't thi