How to Sort a Snapshot Dependency in a build?
Here is my problem.. I have designed the Build as follows
1. Generate Report
Added the following builds as snapshot dependency to Build "Generate Report"
1.DCCheck1
2.DCCheck2
3.DCCheck3
4.Setup
So basically when i run the Build - "Generate Report" i always wanted the SnapShot Dependency "SetUp" to run first before the other dependency starts to run...
Please sign in to leave a comment.
Hi Harissh,
if you want Setup to be run first, and DCC should all wait for it to finish, then you need to make them depend on setup being finished.
If they don't need to wait for it to finish, but setup needs to begin first, the snapshot dependencies page contains a button to sort the dependencies order.
Hi Denis,
Currently am making the build dependent on Setup.. So basically when i make this .. i will not be able to run this build independently as the setup will always run when i run any of the DCC builds separately..
I was actually looking if there is any option to say sort the dependencies and run one after another... before the main build starts..
Thanks
Harish
Hi Harish,
snapshot dependencies are there to enforce order. I'm afraid that that is going to be the only way to achieve this. There is a slight workaround:
-Extract from your builds (DCC) a template.
-Create a copy of each of them that is able to run independently
-Leave the current instance as a part of this chain including a dependency on setup.
That way, you will have both a way to run it independently and a way to make it wait for setup.