The invention discloses an automated construction method and an automated construction device, which belong to the technical field of computers. The method comprises the following steps of: acquiring compilation information, and performing construction verification on the acquired compilation information, wherein the compilation information at least comprises project group member information, source code information and construction compilation mode information; if the compilation information passes the construction verification, acquiring a source code, and compiling and integrating the acquired source code after the source code is successfully acquired; and if the compilation information does not pass the construction verification, acquiring and storing error information. In the invention, the construction verification is performed on the acquired compilation information, and the source code can be acquired after the construction verification is passed, so that the information safety of the source code can be improved, the development efficiency of software can be improved, and the quality of the software can be ensured.