Building Java using Gradle on Jenkins
Learn Git, Docker, Jenkins, Gradle & Java! Hands-on examples to master DevOps and streamline your Java development workflow.
Course Content
Building Java using Gradle on Jenkins is a beginner-level Udemy course taught by John Valentino. It runs 2h 2m, is taught in English, and includes a certificate of completion. Learners rate it 3.9 out of 5 from 6 reviews, with 71 students enrolled. It is a paid course, first published December 2022.
Navigate the complexities of Java software delivery with this comprehensive course! Overwhelmed by the numerous tools and techniques involved in building and deploying Java applications? This course provides a clear path, focusing specifically on a robust and modern approach using Docker, Jenkins, Git, and Gradle.
You'll gain hands-on experience and a deep understanding of the entire Java build and deployment pipeline. Each lesson includes a complete Git repository with detailed explanations and working examples, allowing you to either replicate the environment or dive into the concepts. Let working code guide your learning!
The course begins with setting up a foundational development environment and culminates in using a Jenkins declarative pipeline to automate a Gradle build incorporating best practices. You'll learn to leverage key tools like Maven, Jacoco, and PMD to ensure code quality.
Key topics covered:
- Containerization with Docker and Docker Compose: Learn to package your applications for consistent execution.
- Configuration as Code: Manage your infrastructure and application settings effectively.
- Static Code Analysis: Implement PMD for identifying potential code issues early in the development cycle.
- Unit Testing and Code Coverage: Ensure code reliability with Jacoco and establish quality gates.
- Pipelines as Code: Automate your entire build, test, and deployment process.
The course is structured into three key sections:
(1) Infrastructure Setup with Git & Docker
- Git via GitHub: Master Git for version control and secure access to examples via SSH.
- Docker and Docker Compose: Install and configure Docker and Docker Compose for local containerization.
- Jenkins via Docker Compose: Run Jenkins locally within a container for a streamlined development experience.
(2) Building Java Applications with Gradle
- Java 101: Understand the fundamentals of compiling Java code into a JAR file.
- Gradle and the Java Plugin: Utilize the Java Plugin to build and test your Java applications.
- Gradle and Java Code Coverage: Generate code coverage reports for unit tests and define quality gates.
- Gradle and Java Static Code Analysis: Integrate PMD for static code analysis and enforce quality standards.
- Gradle and Java Library Publishing: Learn to publish your Java libraries to a Maven Repository.
(3) Jenkins Automation & Pipelines
- Freestyle Job: Automate the build, test, and delivery process using a Freestyle Job.
- Scripted Pipeline: Implement automation with a Scripted Pipeline for more complex workflows.
- Declarative Pipeline: Leverage Declarative Pipelines for a cleaner and more maintainable automation approach.
This course empowers you to build robust, automated Java CI/CD pipelines using industry-standard tools. Perfect for developers looking to streamline their Java development workflow and improve code quality.
Hire the developers behind TutorialSearch.io
We built this site — full-stack web apps, AI integration & automation. Tell us what you need and we'll build yours.