The invention discloses a multi-
server code release method and
system, and the method comprises the steps: pulling a Git warehouse code through a Jenkins task, constructing a configuration release parameter, and pushing a code release item to a pre-release
server for testing; after the test is passed, creating a code release project release application, and checking the code release application; after the
verification is passed, writing a to-be-synchronized code release item into an identifier, creating a new
label of the current code of the Git warehouse, and
synchronizing the tested and verified code to each load of the formal platform; regularly querying, by the load, whether a code release item needs to be synchronized, and when the code release item needing to be synchronized is detected, judging whether synchronization
processing is carried out or not according to the time of a file under the item; and after all the loads are synchronized, writing back the task release
record, and performing release state identification according to whether the loads are synchronized successfully or not. According to the technical scheme, independent and visual publishing of multi-module codes is achieved, publishing is effectively controlled, and maneuverability of code publishing is achieved.