|
|
|
[
Permlink
| « Hide
]
Robin Shen [11/Jul/14 11:09 PM]
Closing it. Feel free to reopen if you find the issue again.
Hi,
Strange thing is, that using the exact same configuration I first tested the "if changes found in referenced repositories". Option and it did not work for me. Then i created the groovy workaround. It worked. Now ofter you feedback that you where unable to reproduce it I changed it back to "if changes found in referenced repositories" and now it works. I'm even more confused then before, but you can close the issue. Ty for you time, Andrel I am able to get this working with a simple repository as described below:
1. define a simple repo as below: git init /path/to/repo git add file git commit -m "initial" git checkout -b branch1 git checkout -b branch2 2. define a git repository with pull url set to "/path/torepo", and branch set to "branch*", and set the schedule to trigger every 1 minute, with build condition set to "if changes found in referenced repositories". 3. define a checkout step to checkout above repository. 4. now wait for a minute the two builds will be generated in the configuration, one of branch1 and another for branch2 5. make new commits in /path/to/repo for branch1 and branch2 6. wait for a minute, and another two builds will be fired automatically for branch1 and branch2 So the reason it does not work at your side might be due to a mis-configuration. Can you please test above simple case against your repo to see if it works? |