Re: Exception when I try to trigger buildflow job from workflow job

2016-05-11 Thread Craig Rodrigues
Hi, Sorry for the delay. This fix is now in build-flow-plugin 0.19. Please give it a try and provide feedback. -- Craig On Sun, Jan 24, 2016 at 1:42 PM, EK wrote: > Hi Craig, > > Looks like issue is solved and now can run build flow job from workflow > job. > Many

Re: Exception when I try to trigger buildflow job from workflow job

2016-01-24 Thread EK
Hi , I tired to follow your instruction to build the buildflow plugin and and got the following failures : Tests run: 45, Failures: 0, Errors: 45, Skipped: 0 [INFO] [INFO] BUILD FAILURE [INFO]

Re: Exception when I try to trigger buildflow job from workflow job

2016-01-24 Thread Craig Rodrigues
Hi, It looks like you are running under Windows. I'm not sure if the tests run under Windows. Try: mvn -DskipTests install -- Craig On Jan 24, 2016 4:05 AM, "EK" wrote: > > Hi , > I tired to follow your instruction to build the buildflow plugin and and got the following

Re: Exception when I try to trigger buildflow job from workflow job

2016-01-24 Thread EK
Hi Craig, Looks like issue is solved and now can run build flow job from workflow job. Many thanks for that as now I don't need to convert all my build flow jobs to workflow. question : will this be an official fix to the build flow plugin? Best Regards On Sunday, January 24, 2016 at

Re: Exception when I try to trigger buildflow job from workflow job

2016-01-23 Thread EK
An example to reproduce : this is my workflow script , it takes param1 (string) from user when running, and executes buildflowjob : # println(param1); build job: 'buildflowjob', parameters: [[$class: 'StringParameterValue', name: 'param1', value:param1]] # this is my

Re: Exception when I try to trigger buildflow job from workflow job

2016-01-23 Thread Craig Rodrigues
Hi, I have a patch to address this issue. Would you be willing to build the build-flow-plugin from my branch and provide feedback? You can build it with: git clone https://github.com/jenkinsci/build-flow-plugin cd build-flow-plugin git fetch origin pull/70/head:70 git checkout 70 mvn install --

Re: Exception when I try to trigger buildflow job from workflow job

2016-01-23 Thread Craig Rodrigues
Hi, Thanks for posting your sample scripts. I was able to reproduce your problem. It looks like the Build Flow plugin needs to change to use the Run class, instead of AbstractBuild in order to be compatible with workflow/pipeline plugin. -- Craig On Sat, Jan 23, 2016 at 12:22 AM, EK

Exception when I try to trigger buildflow job from workflow job

2016-01-21 Thread EK
Hi , I am facing the following error , we recently moved to workflow and when we try to run\trigger old build flow jobs from workflow jobs we get exception: Stacktrace of exception is as below , appreciate if anyone can help\advice on this and how we can overcome the issue ? Best