Re: inheritance-plugin child job error: 'Invalid parent reference to'

2016-03-27 Thread GS_L
Apparently the cause of this problem - (JENKINS-23307) Inheritance Project cannot reference another inheritance project which lies in a folder. When I moved the parent and child jobs to root location - the invalid errors disappeared and the inheritance jobs worked fine. Is this issue going to be

Developing plugin that doing something (run some methods) after build of any job

2016-03-27 Thread Barak Katz
Hi, I want to develop a plugin that will run some methods after a build of any job automatically. Someone can help me with that? I tried to extend Recorder but it's contain "display name" - it means that I need to choose this plugin from the post action drop down list, but I don't want to choo

Re: Developing plugin that doing something (run some methods) after build of any job

2016-03-27 Thread Vincent Latombe
RunListener is the extension point you're looking for. Vincent 2016-03-27 17:42 GMT+02:00 Barak Katz : > Hi, > I want to develop a plugin that will run some methods after a build of any > job automatically. > Someone can hel

Re: Developing plugin that doing something (run some methods) after build of any job

2016-03-27 Thread Vincent Latombe
Note that this discussion rather belongs to jenkinsci-dev. Vincent 2016-03-27 18:17 GMT+02:00 Vincent Latombe : > RunListener > > is the extension point you're looking for. > > Vincent > > 2016-03-27 17:42 GMT+02:00 Barak Ka

Jenkins Pipeline Plugin : how to print stacktrace in a try/catch

2016-03-27 Thread Nicolas Geraud
Hi, i want to add a try/catch/finaly block in my pipeline script. try { println("Release ${components.size()} components in parallel : ${componentListToPrint} \n") parallel parallelBuild } catch(err) { echo "Exception thrown:\n ${err}" echo "Stacktrace:" err.printStackTra

Re: Jenkins 2.0 beta released

2016-03-27 Thread Gerard Braad
On Friday, March 25, 2016 at 8:18:18 AM UTC+8, Daniel Beck wrote: > > If you're filing issues in JIRA[1], please add the labels '2.0' and > '2.0-beta' so we can easily find your report. Thanks! > Before filing a bug, I am curious if others experience the same: I was unable to start jenkins fr