Jenkins Version 1.642.4: Way to display all recursive jobs of build flow in build monitor view

11 views
Skip to first unread message

Ram D

unread,
Jul 5, 2016, 5:03:54 AM7/5/16
to jenkins...@googlegroups.com

Hi All,

I am currently stuck while display of build results on monitor view

Firstly some information regarding my jenkins configuration. I have many tests to be executed using Jenkins. In order to achieve that, I created a build flow job (e.g test_flow) which executes one other "Testing" job with test names as parameters. Sample code of build flow is given below -

testsetlist = ["test_A","test_B", ........ many more]

for (int idx = 0; idx < testsetlist.size(); idx++) {
    execute(testsetlist[idx])
}

def execute(testsetname)
{
  ignore(FAILURE)
  {
      b1 = build("Testing", param1: testsetname)
  }
}

The idea to use Build Flow here was not to duplicate the same jobs with different parameter, which becomes to heavy to manage it on a longer run.

Functionality wise, everything works fine but I'm not able to display the build status of each and every test (e.g. test_A and test_B) on "Build Monitor View" as they are not defined as specific jobs. Build Monitor View just displays "Build Flow job" and and last execution of "Testing" job. (Last execution meaning, execution of the last item in the tests list defined in flow).

Question: 

1. Is there any way to display the build status of all the tests ("test_A","test_B", ..... n) on "Build Monitor View" or any other similar thing without creating individual jobs for each and every tests ?

2. Is there any other changes I could do in the configuration to achieve the same thing ?

Any sort of solutions much appreciated. 

Cheers,

Ramesh

Reply all
Reply to author
Forward
0 new messages