-
Bug
-
Resolution: Not A Defect
-
Major
-
None
-
Jenkins 1.617, warnings 4.48, JRE 1.8.0_45
Simple scenario:
Freestylejob A that triggers in build step a freestylejob B.
Job B does nothing except "scan for compiler warnings" with MSBuild parser.
If you run Job B, it succeeds okay.
If you run Job A, it triggers Job B as expected, but runs forever (or until cancelled ) even if the job B is already finished successfully.
I detected this problem in a different scenario, but even this simple configuration doesn't work
As I have multiple nested jobs running and mostly MSBUILD jobs, it would be very nice if I also can use your warnings-plugin as it looks quite good.
But due to the fact that the described behaviour blocks up all nested jobs, it is quite annoying as it took me also a long time to identify this problem.
Any help is welcome and additional informations can be also provided if needed.
Regards,
Bernd Spickers
The warnings plug-in uses the provided Jenkins synchronization http://javadoc.jenkins-ci.org/hudson/tasks/BuildStepMonitor.html#BUILD. I.e. it should block another build of the same job until that result is available. Seems that this is implemented in a different way.
How do you trigger job B in a build step of job A, are you using a plug-in? (Or do you use the post build action "Build other projects"?)