Running Java CI pipeline

Houssem Dellai
A free video tutorial from Houssem Dellai
Engineer at Microsoft
4.4 instructor rating • 6 courses • 90,102 students

Learn more from the full course

Learn Azure DevOps CI/CD pipelines

Create CI/CD pipelines for Java, .NET, NodeJs, Docker, Terraform, Nuget, Xamarin, SQL Server and ARM templates

09:32:34 of on-demand video • Updated June 2021

  • What is DevOps and CI/CD
  • Creating CI/CD pipelines for Web, Mobile and Container apps
  • Including the Database into the pipelines
  • Configure deployment to Azure Cloud
  • Run unit, functional and load tests as part of the pipeline
  • Analyse source code using Sonar
  • Use Infrastructure as Code (IaC) from CI/CD with ARM templates
  • Use Configuration as Code (CaC) in Azure DevOps
  • Create Dev-Test-Prod environments
  • Secure the pipelines sensitive data
  • Use Infrastructure as Code (IaC) from CI/CD with Terraform
English [Auto] Now we are ready to run this pipeline. So let's do that. I go to save and you save and you and here as head of ops will give me this link in order to uh follow the execution of my CIA pipeline so I'll open it in a new window. And here I can see in real time the execution of the pipeline. So now I just have found a nation to run my pipeline. It will start by checking out the code from my uh guitar repositories. So for that we see here is um um uh command lines that uses uh get so loose one will glow in the application and my applications so good from get up and to the um and to the agent then we're on the Maven uh clean package command in order to generate this file around the integration tests then publish those integration tests. And after that it we did run uh good analyses or uh good coverage in order to uh to have uh the percentage of the uh good coverage for my application and now my uh the pipeline did run in just one minute and twenty four seconds. And now on the uh uh all the tasks I run successfully. If I go to the summary window from here I can see the result of the execution of this pipeline. So I can see that tab generated the uh artifacts. Here we have two artifacts. The uh first one uh is for the good covers. If go to view the content. I can see that here I have some issue Yemen and yes files that let would give me a summary of the uh good coverage for my application. My second artifact is the drop folder and this is the one I need for my C D pipeline which will contain the Shah file for my application and here we have. If we expand the good covers um uh tool here we can see that we have a good coverage of 100 percent. That's the result of the analyses done by Ed Jacob. If we expand test 60. Uh test. Uh menu here. We can't see that we have 100 percent of the tests succeed. Here I have uh one uh test that passes and then that doesn't mean my build pipeline did run it successfully.