DevOps Insider: 3 Key Insights for Crafting Custom Jenkins Plugins in Your Organization

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

Have you ever struggled to find the right Jenkins plugin that meets your needs or desires? Sometimes, organizational policies restrict which plugins can be installed. Today, Khun. Kasidej Kammool, Platform Services Engineer at SCB TechX, will introduce the 3 essential elements for building your own Jenkins plugins professionally within your organization.

  1. Logical: This section stores logic written in Java, located in src/main/java, structured by package for easy file searching. It also includes src/test/java for test files to ensure the plugin works perfectly.
  2. Resource: This section holds Jelly files that define the plugin’s UI, found in src/main/resources. Jelly files create forms and displays in Jenkins, matching the Java class packages. For example, a logic file named HelloWorldBuilder.java requires a corresponding folder in src/main/resources named HelloWorldBuilder to store Jelly files. This section also includes essential XML and Properties files for configuration and functionality.
  3. Pom.xml File: A crucial file for defining project structure, managing dependencies, and other necessary settings for developing and testing the plugin, such as Artifact creation and specifying the Jenkins version.

Understanding these components helps in developing Jenkins plugins tailored to your organization’s needs efficiently. Stay tuned for our next article to share use cases of building Jenkins plugins. Don’t forget to follow 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

--

--