Loading article...
Loading article...
Stream/Area:
-
Subject:
-
Paper ID:
IJSREM38426
Volume:
8 |
11 |
Nov 2024
Pages:
1-14
Publication Frequency:
Monthly (12 issues per year)
License:International Journal of Scientific Research in Engineering and Management follows the Creative Commons Attribution 4.0 (CC BY 4.0) License, allowing free use and distribution with proper attribution.
MSc. Computer Science
Ravensbourne University
Continuous Integration and Continuous Delivery (CI/CD) pipelines have become fundamental to modern software engineering by enabling frequent integration, automated testing, and rapid deployment of software applications. However, increasing pipeline complexity, large test suites, build failures, resource-intensive execution, and deployment risks can reduce delivery efficiency and reliability. This research develops an intelligent CI/CD pipeline optimization framework using machine learning (ML) to improve the reliability, efficiency, and continuity of software delivery. The framework integrates historical pipeline data, build characteristics, test execution information, deployment logs, and operational metrics to support intelligent decision-making throughout the CI/CD lifecycle. Machine learning algorithms, including Random Forest, Support Vector Machine (SVM), Gradient Boosting, and XGBoost, are evaluated for build-failure classification, deployment-risk assessment, and pipeline performance optimization. The framework further incorporates intelligent test prioritization, build-time optimization, automated failure analysis, and rollback support to reduce unnecessary pipeline execution and accelerate software delivery. Performance is assessed using classification metrics such as accuracy, precision, recall, F1-score, and ROC-AUC, together with operational indicators including build time, test execution time, deployment time, pipeline success rate, deployment failure rate, Mean Time to Recovery (MTTR), resource utilization, and release frequency. The research establishes an integrated approach in which machine learning complements conventional CI/CD automation with data-driven pipeline intelligence. The developed framework provides a scalable foundation for improving software delivery reliability while reducing execution overhead and supporting faster and more consistent releases in cloud-based DevOps environments.
KEYWORDS
This research developed an intelligent machine-learning-assisted CI/CD pipeline optimization framework to improve the efficiency, reliability, and continuity of software delivery. The framework integrates pipeline data collection, preprocessing and feature engineering, machine-learning analysis, build optimization, intelligent test selection, deployment-risk assessment, failure analysis, and automated rollback within a unified CI/CD architecture. Random Forest, SVM, Gradient Boosting, and XGBoost were evaluated to determine their suitability for data-driven pipeline decision support. The performance analysis demonstrated improvements across the major CI/CD stages. Average build time decreased from 18.6 min to 14.2 min, representing a 23.66% reduction, while test execution time and deployment time were reduced by 32.39% and 18.55%, respectively. Consequently, total pipeline execution time decreased from 62.8 min to 45.8 min, corresponding to an overall reduction of 27.07%. Reliability also improved, with the pipeline success rate increasing from 86.4% to 94.2%, deployment failure rate decreasing from 14.0% to 6.0%, and MTTR decreasing by 42.26%. Among the evaluated machine-learning algorithms, XGBoost achieved the strongest overall classification performance, obtaining 95.2% accuracy, 94.6% precision, 94.1% recall, 94.3% F1-score, and 0.968 ROC-AUC. The results indicate that incorporating historical pipeline behaviour and operational information into CI/CD decision-making can support more efficient build execution, targeted test processing, controlled deployment, and faster failure recovery. The principal contribution of this research is the integration of multiple CI/CD optimization functions within a closed-loop intelligent software delivery framework, rather than addressing build, testing, deployment, and recovery as independent processes. Future work can extend the framework through larger multi-project datasets, additional cloud and containerized environments, model explainability, adaptive model updating, and evaluation across diverse real-world software systems. Overall, the study demonstrates the potential of machine-learning-assisted automation to support faster, more reliable, and resource-efficient continuous software delivery.
1. B. Fitzgerald and K. J. Stol, “Continuous software engineering: A roadmap and agenda,” Journal of Systems and Software, vol. 123, pp. 176–189, 2017, doi: 10.1016/j.jss.2015.06.063. 2. M. Hilton, T. Tunnell, K. Huang, D. Marinov, and D. Dig, “Usage, costs, and benefits of continuous integration in open-source projects,” in Proc. 31st IEEE/ACM International Conference on Automated Software Engineering (ASE), 2016, pp. 426–437, doi: 10.1145/2970276.2970358. 3. Y. Zhao, A. Serebrenik, Y. Zhou, V. Filkov, and B. N. Vasilescu, “The impact of continuous integration on other software development practices: A large-scale empirical study,” in Proc. 32nd IEEE/ACM International Conference on Automated Software Engineering (ASE), 2017, pp. 60–71, doi: 10.1109/ASE.2017.8115619. 4. L. Chen, “Continuous Delivery: Huge benefits, but challenges too,” IEEE Software, vol. 32, no. 2, pp. 50–54, 2015, doi: 10.1109/MS.2015.27. 5. M. Leppänen, S. Mäkinen, M. Pagels, V.-P. Eloranta, J. Itkonen, M. V. Mäntylä, and T. Männistö, “The highways and country roads to continuous deployment,” IEEE Software, vol. 32, no. 2, pp. 64–72, 2015, doi: 10.1109/MS.2015.50. 6. L. Chen, “Continuous Delivery: Overcoming adoption challenges,” Journal of Systems and Software, vol. 128, pp. 72–86, 2017, doi: 10.1016/j.jss.2017.02.013. 7. M. Shahin, M. A. Babar, M. Zahedi, and L. Zhu, “Beyond continuous delivery: An empirical investigation of continuous deployment challenges,” in Proc. 11th ACM/IEEE International Symposium on Empirical Software Engineering and Measurement (ESEM), 2017, pp. 111–120, doi: 10.1109/ESEM.2017.18. 8. J. Smeds, K. Nybom, and I. Porres, “DevOps: A definition and perceived adoption impediments,” in Agile Processes in Software Engineering and Extreme Programming, Springer, 2015, pp. 166–177, doi: 10.1007/978-3-319-18612-2_14. 9. M. Senapathi, J. Buchan, and H. Osman, “DevOps capabilities, practices, and challenges,” in Proc. 22nd International Conference on Evaluation and Assessment in Software Engineering (EASE), 2018, doi: 10.1145/3210459.3210465. 10. J. Faustino, D. Adriano, R. Amaro, R. Pereira, and M. Mira da Silva, “DevOps benefits: A systematic literature review,” Software: Practice and Experience, vol. 52, no. 9, pp. 1905–1926, 2022, doi: 10.1002/spe.3096.
Publication Date
11/26/2024
Peer Review Type
Double-Blind Peer Review
Review Rounds: 2
Documents
Article Views
0
Total views since publication
PDF Downloads
0
Total downloads since publication
Geographic Reach
5
Digital Preservation: This article is permanently archived on Zenodo and complies with all data preservation standards across major indexing platforms.
Plagiarism Screening
This manuscript has been checked for plagiarism using TurnitinPlagiarismChecker software.
Conflict of Interest
The authors declare no conflict of interest related to this research work.
Funding Information
No funding information available for this research.
Related research in the same subject area
Loading similar articles...