DevOps Insider: Optimize Jenkins Custom Plugin, Minimize Code, Boost Speed, Deliver Top-tier Performance

MingMing Jantima Boonruethairat
SCB TechX
Published in
2 min readJul 18, 2024

Our recent DevOps Insider article shared 3 key insights for creating Jenkins plugins tailored for professional use within organizations. Today, Khun. Kasidej Kammool, Platform Services Engineer at SCB TechX, will humbly discuss a use case highlighting challenges faced by the team and ideas for developing Jenkins plugins.

Initially, the team utilized Script-based Pipeline Choice Parameters for dynamic value handling to enhance Jenkins Pipeline flexibility, such as using APIs to fetch file names from Git repositories for parameter choices. However, this approach often required lengthy code, sometimes exceeding 10 lines, to fetch data into parameters. Moreover, dealing with Private Git repositories necessitated detailed credentialing for authentication, leading to processing delays and impacting pipeline efficiency.

To address these recurring challenges, the team developed the xPlatform Choice Plugin. This plugin consolidates code across all pipelines into a single, easy-to-use plugin. It improves speed, simplifies understanding, and eliminates the need to inspect code pipeline by pipeline. Additionally, it supports continuous workflow enhancement for the xPlatform system, seamlessly integrating with the xPlatform Portal to maximize operational efficiency and significantly accelerate project delivery.

Next time, we’ll share more insightful DevOps use cases. Stay tuned to our page!

If your organization is looking for DevOps solutions to automate workflows and reduce business costs, SCB TechX is here to help you develop and deliver products and services to market, ensuring sustainable growth.

Contact us at contact@scbtechx.io

Learn more: https://bit.ly/4c2GdZI

--

--