Dependency checking method based on Jenkins tool

The invention relates to a dependency checking method based on a Jenkins tool, which comprises the following steps that: A, a developer submits a code to a code warehouse and triggers a Jenkins dependency checking plug-in; B, the plug-in reads and analyzes a pom.xml file of a project and saves the p...

Ausführliche Beschreibung

Gespeichert in:
Bibliographische Detailangaben
Hauptverfasser: XIE YANZE, LUO XI, ZHOU YONG, BAI CHENG, LI JIAMING
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 relates to a dependency checking method based on a Jenkins tool, which comprises the following steps that: A, a developer submits a code to a code warehouse and triggers a Jenkins dependency checking plug-in; B, the plug-in reads and analyzes a pom.xml file of a project and saves the pom.xml file into a set S; C, version number ranges of prohibited dependencies and allowed dependencies are configured in a dependency checking system; D, the plug-in compares a third-party dependence in the set S with the prohibited dependencies and the allowed dependencies; and E, a comparison result is output to the dependency checking system for display. According to the method, a prohibited high-risk dependence or a dependence of which the version is not in a specified range of an enterprisecan be detected, and an efficient and flexible third-party dependence checking method can be provided for continuous construction, so that the code quality can be improved, and the business continuity can be guaranteed. 本发明涉