Jenkins-based code integrated management method and system

The invention discloses a Jenkins-based code integrated management method and system, and relates to the technical field of computers. A specific embodiment of the method comprises the following steps: after monitoring and intercepting a code submission event, triggering a client to operate so as to...

Ausführliche Beschreibung

Gespeichert in:
Bibliographische Detailangaben
1. Verfasser: HAN SHIXIONG
Format: Patent
Sprache:chi ; eng
Schlagworte:
Online-Zugang:Volltext bestellen
Tags: Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
Beschreibung
Zusammenfassung:The invention discloses a Jenkins-based code integrated management method and system, and relates to the technical field of computers. A specific embodiment of the method comprises the following steps: after monitoring and intercepting a code submission event, triggering a client to operate so as to trigger a Jenkins remote construction task through the client; monitoring plug-ins in the Jenkins are polled, so that the latest construction state of each task is obtained; and if all the tasks are successfully constructed, pushing the codes to a code warehouse through the client, otherwise, returning pushing failure information. According to the implementation mode, on one hand, continuous integration construction check can be performed before the codes are submitted to the code warehouse, and the codes in the code warehouse are prevented from being polluted; and on the other hand, the whole construction environment is constructed in Jenkins, each user does not need to repeatedly construct the environment locall