How to build Jenkins 2.375 from Source Code in Windows 10 Command line using Maven 3.8 and JDK 11
In this video we are going to see how to build Jenkins 2.375 source code in Windows Command line using Apache Maven 3.8.7 and JDK 11.
Make sure that Maven and JDK 11 are in the path before building the binaries.
Just download the source code zip file. Extract it and just execute the below maven command to build the Jenkins binaries.
mvn spotless:apply clean install -DskipTests (or)
mvn spotless:apply
mvn clean install -DskipTests
spotless:apply -- will invoke the spotless plugin which will correct the formatting errors during the build.
After building you can see the binaries/jars in the \war\target directory
Below is the download links for Jenkins 2.375 Source Code.
https://github.com/jenkinsci/jenkins/tags
https://github.com/jenkinsci/jenkins/releases/tag/jenkins-2.375.2
#jenkins #opensource #maven #javaprojects