Загрузка страницы

Jenkins Pipeline for Java using Maven and Docker

Learn how to set up Jenkins Pipeline for a Maven project using Docker containers ■ Jenkins Pipeline Tutorial ■ Jenkins Pipeline as Code ■ #jenkinspipeline

In this Jenkins Pipeline Tutorial, I show you three different ways how to set up a Jenkins Pipeline for building a Maven Java project. You will learn how to set up a continuous integration pipeline using the default Global Tools Configuration and a Maven installed on the Jenkins node. Then, I will show you how to use Docker to run the pipeline inside the docker container created from the official Maven Docker image. Next, I will show you how to create your own Docker image using Dockerfile that extends from the official Maven image and adds a few tools that were missing in the official Docker image.

💾 GET THE SOURCE CODE:
https://github.com/wololock/jenkine-pipeline-maven-demo

⏱️ TIMESTAMPS:
------------------------------------------------------------
00:00 | Introduction
00:17 | Demo Maven project introduction
01:12 | Creating Jenkinsfile
02:44 | Global Tools Configuration
04:23 | Using "docker" agent type
07:02 | Fixing Maven dependencies download cache
09:25 | ssh: command not found
11:20 | Switching to "dockerfile" agent type
16:12 | Summary

📺 WATCH NEXT:
Jenkins Pipeline with multiple Java versions » https://youtu.be/j1lH3vOhucw

☕️ BUY ME A COFFEE (thanks in advance! 😀)
https://e.printstacktrace.blog/buy-me-a-coffee

📧 JOIN MY NEWSLETTER
https://e.printstacktrace.blog/newsletter

🔥 MORE JENKINS PIPELINE TUTORIAL VIDEOS & RESOURCES:
------------------------------------------------------------
• Jenkins Declarative Pipeline vs. Scripted Pipeline » https://youtu.be/Ei_Nk14vruE
• Declarative vs. Scripted Q&A » https://youtu.be/Dfx_VZuJ0Ps
• Jenkins Pipeline Environment Variables » https://youtu.be/KwQDxwZRZiE
• Jenkins Pipeline for Maven projects » https://youtu.be/HaGeSq-SB9E
• 5 Common Jenkins Pipeline Mistakes » https://youtu.be/aFRjn_4nb-Q
• Jenkins Pipeline Learning Kit » https://kit.co/wololock/jenkins-pipeline-learning-kit
• Jenkins Pipeline Cookbook blog posts series » https://e.printstacktrace.blog/jenkins-pipeline-cookbook

📷 CAMERA GEAR I USE:
------------------------------------------------------------
• My camera » https://e.printstacktrace.blog/gear/camera?utm_source=jenmvn
• 25mm f1.7 lens » https://e.printstacktrace.blog/gear/lens?utm_source=jenmvn
• Microphone » https://e.printstacktrace.blog/gear/microphone?utm_source=jenmvn
• LED lights » https://e.printstacktrace.blog/gear/light?utm_source=jenmvn
• Check my full kit » https://kit.co/wololock/my-youtube-studio-gear

🛠️ TOOLS & SERVICES I USE TO:
------------------------------------------------------------
• design YouTube thumbnails (Canva) » https://e.printstacktrace.blog/canva?utm_source=jenmvn
• improve my grammar skills (Grammarly) » https://e.printstacktrace.blog/grammarly?utm_source=jenmvn
• develop mailing list (ConvertKit) » https://e.printstacktrace.blog/convertkit?utm_source=jenmvn
• listen to audiobooks (Audible, 30 days free trial) » https://e.printstacktrace.blog/audible?utm_source=jenmvn
• read Kindle ebooks (Kindle Unlimited) » https://e.printstacktrace.blog/kindleunlimited?utm_source=jenmvn
• secure network connection with VPN (NordVPN) » https://e.printstacktrace.blog/nordvpn?utm_source=jenmvn
• improve SEO on YouTube (VidIQ) » https://e.printstacktrace.blog/vidiq?utm_source=jenmvn
• host WordPress websites (Bluehost) » https://e.printstacktrace.blog/bluehost?utm_source=jenmvn

❤️ SUPPORT MY WORK
------------------------------------------------------------
• Github Sponsors » https://github.com/sponsors/wololock
• Open Collective » https://opencollective.com/eprintstacktrace
• Other options » https://e.printstacktrace.blog/support-me

👋 STAY IN TOUCH:
------------------------------------------------------------
• Blog » https://e.printstacktrace.blog
• Twitter » https://twitter.com/wololock
• LinkedIn » https://www.linkedin.com/in/szymon-st%C4%99pniak-9a0b1630
• Github » https://github.com/wololock

✉️ CONTACT:
For all subscribers, please use this email: hello@printstacktrace.blog
For business inquires only, please use this email: collabs@printstacktrace.blog

DISCLAIMER: Some of the links above are affiliate links. If you decide to click that link and subsequently make a purchase, I will get a small percentage from your purchase. Using the affiliate link does not affect the final price of the product. The commission I earn comes at no additional cost to you. Thank you for supporting my channel so I can continue to provide you with free content on a regular basis!

And remember - it's all about helping YOU to become a better software developer! Thanks!

#eprintstacktrace #szymonstepniak

Видео Jenkins Pipeline for Java using Maven and Docker канала Szymon Stepniak
Показать
Комментарии отсутствуют
Введите заголовок:

Введите адрес ссылки:

Введите адрес видео с YouTube:

Зарегистрируйтесь или войдите с
Информация о видео
15 апреля 2020 г. 14:45:00
00:17:43
Яндекс.Метрика