In a previous post, the Jenkins Stapler plugin was used to implement a plugin to be used with freestyle and pipeline jobs. In this example, all plugin parameters had to be defined in the pipeline script. However, sometimes it would be more convenient to make some plugin parameters optional.Read more
Jenkins is one of the well-known open source automation servers out there. It allows you to build, deploy and automat your project. It is extensible, meaning you can write your own plugin for your special use case. However, the lack of documentation and working examples makes it suprisingly difficult to build your own plugin. I went through this tidious process myself. This step-by-step guide hopefully helps you in building your own Jenkins plugin.