How can we make sure that all unit tests pass before developer code reaches 
*master*? Ideally Jenkins would run the tests on an integration branch that 
is local to the cloud test VM, then merge to *master* only if all tests pass

Jenkins Pretested Integration Plugin 
<https://wiki.jenkins-ci.org/display/JENKINS/Pretested+Integration+Plugin> can 
help, but I'd like to ask: What if a second developer pushes while the 
tests are running for the first developer? In that case,  the second merger 
will not reflect the latest *master *(i.e, with the first developer's 
changes.). This could allow merger of incorrect code (i.e., code such that 
the tests would fail), or there might be a failure-to-merge (which the 
second developer would deal with, but this would cause a big hassle as 
people trip over each other's commits and try to coordinate waiting for 
each other. (Waiting around for your turn to push would  make for an 
inefficient collaboration,)

Using Jenkins 1.6.47 with Git (Bitbucket) and Java TestNG.

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/5f36782f-e062-4535-b924-8969effabc9f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to