As we mentioned earlier, the src directory contains the source files for the Jenkins plugin. In order to build plugins in Jenkins, you will need to write in the Java programming language. Teaching the Java programming language is out of the scope of this book but we will briefly discuss some of the files that Maven created for us.
Notice that Maven created a rather long directory structure, which is common, and, as such, the directory structure for the helloworld plugin is ./src/main/java/io/jenkins/plugins/sample/HelloWorldBuilder.java. The test file itself is in ./src/test/java/io/jenkins/plugins/sample/HelloWorldBuilderTest.java.
I have included the source code for the HelloWorldBuild.java class ...