Font Size: a A A

Dynamic Scheduling Algorithm For Continuous Integration System Based On Jenkins

Posted on:2021-04-25Degree:MasterType:Thesis
Country:ChinaCandidate:M LiFull Text:PDF
GTID:2428330602495915Subject:Computer Science and Technology
Abstract/Summary:PDF Full Text Request
With the popularity of computers and the development of software technology.People's demand for software is increasing,and the requirements for software quality are becoming higher and higher.Therefore,at this stage,software development is faced with the challenge of fast changing requirements and complicated requirements.At the same time,there are data indicating that software developers have shown a blowout increase in recent years.With the rapid increase of software developers,the expansion of the development team size,the lack of communication between the developers and the uncoordinated development progress between the teams,team management has become an urgent problem in the software development process.As an important practice to improve the efficiency of software development,continuous integration has gradually become popular in the process of software development.However,in the actual company's process of continuous integration,it was found that the progress of each development module is different,the main line and the branch code are different in importance,and some developers repeatedly submitted a large number of construction tasks in the short term because of test code and functions,and some new Members' inexperience in continuous integration operations leads to unimportant tasks occupying a large amount of system resources,and the development teams of different departments competing for continuous integration construction resources.However,in the Jenkins-based continuous integration platform used by most enterprises,the construction tasks are only built in the order of submission,which is not efficient enough and cannot guarantee fairness.Therefore,based on the characteristics of the Jenkins-based continuous integration system,this paper proposes a dynamic priority scheduling algorithm based on the Jenkins continuous integration platform to reschedule the construction tasks based on the daily problems that the development team uses in the continuous integration system.The dynamic priority scheduling algorithm proposed in this paper integrates the task's value and time factors,and proposes the construction task's value density and execution urgency calculation method,taking into account fairness and efficiency.Finally,simulation experiments prove that compared with the traditional task scheduling method of Jenkins continuous integration system and other traditional dynamic priority scheduling algorithms,the scheduling algorithm proposed in this paper is more consistent with the characteristics of continuous integration,and on the basis of ensuring fairness,Improve the system's execution efficiency and value return rate.
Keywords/Search Tags:Continuous Integration, Jenkins, value density, execution urgency, dynamic priority
PDF Full Text Request
Related items