How do I dynamically trigger downstream builds in jenkins?

前端 未结 6 467
刺人心
刺人心 2020-12-14 20:34

We want to dynamically trigger integration tests in different downstream builds in jenkins. We have a parametrized integration test project that takes a test name as a param

6条回答
  •  醉梦人生
    2020-12-14 20:44

    Since you are already starting the downstream jobs dynamically, how about you wait until they done and copy the test result files (I would archive them on the downstream jobs and then just download the 'build' artifacts) to the parent workspace. You might need to aggregate the files manually, depending if the Test plugin can work with several test result pages. In the post build step of the parent jobs configure the appropriate test plugin.

提交回复
热议问题