Hi,
We are thinking of setting up some mirrors for our jenkins builds and users. We have a webhook that fires from bitbucket to jenkins anytime there is a commit and does the build which is immediate.
Now during the build when cloning happens through mirror if mirror always makes sure to have the latest code or there are chances it may not have it in ideal conditions
Hi Aditya,
When a push is made to a primary server, the primary server notifies the mirror, and the mirror then begins pulling the changes from the primary server. While this usually happens fairly quickly, there is always going to be some delay, not least dependent on the speed of the connection between the primary and the server and the amount of data to be synchronized.
Therefore it's possible that your build may not run with the latest commit if it is triggered immediately once a push to primary has finished and the build is configured to pull from a mirror.
Cheers,
Christian
Premier Support Engineer
Atlassian
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.