| Along with the development of the firewall,in the process of its software design,user demand for product function is increasing,members of the project implementation will be frequent integration work,traditional way of integrated already can not meet the requirement of the product development cycle is short,the quality of high demand.In order to better improve and guarantee the quality of software,software delivery frequency need a continuous integration system to complete the software development process in the repeatability,reliability and traceability.This thesis designed and implemented a continuous integration system for firewall software,in order to solve the firewall software can’t rapid integration problems in the actual development.Main work includes:(1)In this thesis,the compiling of scheduling policy is optimized,shortens the compiling of waiting time,and improve the utilization rate of the compilation of machine capacity.Scheduling policy,the original JobBind strategy is to compile the same classification tasks assigned to compile a machine,can appear some compile machine idle,other compile machine full load;JobNotBind strategy every time is to compile the task assigned to compile on execution with the shortest waiting time ignored the compilation of machine utilization;JobCapacity strategy will compile task assigned to the remaining capacity of the largest compilation on execution,compiling of waiting for a long time.And Joblmprove strategy proposed in this thesis,if the capacity of the compilation of all can’t perform this new compilation task,will be deleted from corresponding compilation unit compiling,spare capacity,compiled for the new task,thus reducing the compiling of waiting time.(2)In this thesis,the automated build parts,reduce the repetitive work,meet the needs of product rapid iteration.Before building the existence of a large number of repetitive manual labor,especially to check the build results,large files need to carefully look at it.Through scripting,to start operation of compiling,the implementation of the build results of self-examination,generates a readable build report,automated build process,save human resources,so as to improve the work efficiency of the project team.(3)Continuous integration system for firewall software in the actual project requirements,respectively,developed a version update and functional testing the plugin.Version update plug-in,using the Jelly with the view of technology,the realization of the function of convenient user configuration,which based on user configuration for automatically download and install a software version;Functional test plug-in,implements the Jenkins client and STAF server-side functionality,through interaction between completed the function of the software test and test results are obtained.(4)This thesis realizes the continuous integration server task creation,access control and synchronization control management,and other functions,combined with the implemented automated builds and Jenkins plug-in,completed the firewall system the whole process of software development,not only ensure the quality of products at the same time,and reduce the burden of the engineer.In this thesis,the design and implementation of a continuous integration system,applied to the company’s firewall software development project,by means of scheduling policy,build part,Jenkins plug-in and system function test,analysis of the log output,completed the process of continuous integration effect evaluation,shows that this system reduces the software input-output ratio,improved product quality,achieve the expected design goal. |