|
所在平台: Udemy |
课程主页: https://www.udemy.com/course/building-java-using-maven-on-jenkins/
课程评论:没有评论
课程名称:使用Maven在Jenkins上构建Java 课程概述:在软件构建和交付的过程中,面对如此多的术语、技术和工具,学习者往往会感到不知所措。本课程专门针对Java,提供了一条清晰的路径,涵盖了使用Docker、Jenkins、Git和Maven的多种交付选项。每个课程模块都附有一个Git代码库,其中包含讨论内容的详细信息和示例。学习者可以通过搭建自己的开发环境来运行示例,或仅将其作为深入了解Java-Jenkins-Maven交付内部工作原理的资源。课程的结构从设置基本开发环境开始,最终通过使用Jenkins声明式管道执行Maven构建,利用Java、Publish、Jacoco和PMD插件,在所有质量门通过后,将生成的Java库发布到Maven仓库。 课程还涵盖了容器化、代码配置、静态代码分析、单元测试、代码覆盖率和管道作为代码的概念。课程分为三个部分: 1. 基础设施 - Git通过Github:设置Git以便使用SSH获取示例。 - Docker和Docker Compose:安装Docker和Docker Compose以能够在本地运行容器。 - Jenkins通过Docker Compose:在容器中本地运行Jenkins。 2. 构建Java - Java基础知识:如何将Java代码转换为Jar文件。 - Maven与Java:使用Maven进行测试和构建Jar文件。 - Maven与Java代码覆盖率:如何生成单元测试的代码覆盖率,并设置质量门。 - Maven与Java静态代码分析:如何运行PMD,并设置质量门。 - Maven与Java库发布:如何将Jar文件发布到Maven仓库。 3. Jenkins自动化 - 自由风格作业:使用自由风格作业构建、测试和交付Jar文件。 - 脚本化管道:使用脚本化管道构建、测试和交付Jar文件。 - 声明式管道:使用声明式管道构建、测试和交付Jar文件。 本课程适合希望深入了解Java构建过程以及如何利用现代工具进行软件交付的学习者。
With so many terms, techniques, and tools available, navigating how about building and delivering software can be overwhelming. This course picks a path through that maze, specifically focused on Java, and walks through a set of those options for delivery. Specifically using a combination of Docker, Jenkins, Git, and Maven. Every aspect of this course also comes with a Git repository that contains both details and the examples being discussed.Learners can follow along by running their own development environments for executing the examples, or just use this as a deep-dive explanation into the inner workings of Java-Jenkins-Maven delivery. Either way, let working code be your guide. The course structure starts with setting up a basic development environment, and ends with using a Jenkins declarative pipeline to execute a Maven build using the Java, Publish, Jacoco, and PMD plugins, that on the pass of all the quality gates publishes the resulting Java Library to a Maven Repository.It additionally covers the concepts of containerization, configuration as code, static code analysis, unit testing, code coverage, and pipelines as code. The course is otherwise divided into three sections:(1) InfrastructureGit via Github - Setting up Git so that you can use SSH to get the examples.Docker and Docker Compose - Installing Docker and Docker Compose to be able to run containers locally.Jenkins via Docker Compose - Running Jenkins locally in a container.(2) Building JavaBuilding Java 101 - The basics of how Java code is turned into a Jar.Maven and Java - Using Maven to test and build a Jar.Maven and Java Code Coverage - How to generate code coverage for unit testing, and set a quality gate.Maven and Java Static Code Analysis - How to run PMD, and set a quality gate.Maven and Java Library Publishing - How to publish a Jar to a Maven Repository.(3) Jenkins AutomationFreestyle Job - Building, Testing, and Delivering the Jar using a Freestyle Job.Scripted Pipeline - Building, Testing, and Delivering the Jar using a Scripted Pipeline.Declarative Pipeline - Building, Testing, and Delivering the Jar using a Declarative Pipeline.