Schedule trigger + vcs trigger
I have a problem with TC 7.0.3 to schedule night compilations. I have schedule trigger with option "Trigger build only if there are pending changes" checked. I need start compilation only if there are some changes but not if that changes are for specified user, which only commit version update. VCS Trigger rules are:
+:**/*
-:user=upd_version_user:**/*
The problem is that when there are also changes for other users build isn't triggered. What I need is if there was not "real" changes besides increasing build, build should not be run. But increasing build commit will be always in pending list, because after each successful compilation, build is increased.
What should my VCS Triggers rules look like ? I see that such functionality was requested under TW-4344 and it should be implemented since TC 6.0,
Please sign in to leave a comment.
Hello,
Could you please try the following trigger rules:
I had a similar issue and it appears that the solution suggested fixed the problem. So what is the difference between:
-:user=devops;root=GIMS:.
-:user=devops;root=GIMS:**
and
+:.
+:**
Hi,
after some internal inquiry, it seems like this should be a bug, as both "+:**" should be equivalent to "-:.". In fact the "**" is posted as the default value for rules. Could you confirm exactly which line you were using?
I was using;
+:**
-:user=devops;root=GIMS:**
and that did not work. Once I changed it to the following, it started to work:
+:.
-:user=devops;root=GIMS:.