-
New Feature
-
Resolution: Fixed
-
Major
-
None
-
Platform: All, OS: All
I am going to set up nightbuilding environment in our company. We have several
services (EJB or WS) and its automatic functional tests. Some services depend on
another ones. We plan to build and deploy all our services to application server
in first step. And run those functional tests against application server on each
service in second step. So I would like to synchronize these steps.
It means that I would like to make two composite jobs: deploy-all and test-all.
Job deploy-all is composite of common (Maven) jobs: deploy-service1,
deploy-service2, etc. Job test-all is composite of free-style jobs:
test-service1, test-service2, etc. And I would like to run test-all after
deploy-all is finished. Neither job deploy-all nor job test-all should fail if
any of its sub-job fails - it does not matter if any sub-job failed, it is just
necessary that testing sub-jobs starts after deploy step ends.
And finally I would like to create umbrella job nightbuild-all that wrap
deploy-all and test-all.
–
I would like to ask for new job type composite or aggregate. This composite job
would wrap other existing jobs and would finish when the last wraped sub-job is
finished. This job type could provided property to set parallel or serial execution.
–
In my example jobs deploy-all and test-all are parallel types. And top
nightbuild-all job is serail type - test-all job can be executed after
deploy-all job is finished.
The Join plugin does this.