0% found this document useful (0 votes)
2 views14 pages

Dev Ops Program 10

Program 10 outlines the steps to create a Maven project in Eclipse, configure it, and push it to a GitHub repository. It also details how to set up a new project in Azure DevOps, create a pipeline, and run it successfully. The process includes specific actions such as modifying the POM.xml file and ensuring proper configuration for the pipeline to function correctly.

Uploaded by

prv.3339
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
2 views14 pages

Dev Ops Program 10

Program 10 outlines the steps to create a Maven project in Eclipse, configure it, and push it to a GitHub repository. It also details how to set up a new project in Azure DevOps, create a pipeline, and run it successfully. The process includes specific actions such as modifying the POM.xml file and ensuring proper configuration for the pipeline to function correctly.

Uploaded by

prv.3339
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd

Program 10

Step 1:

Similar to program 2 create a maven project in eclipse, no need to add plugin, it should
successfully build and run

Step 2:

Now in [Link] file add the following *

So, after adding it looks something like this:


(project name and package name will be different)
Step 3:

Now your Maven Project is ready

Next, we need to move the maven project to GitHub repository

Follow the same steps of program 6 i.e.

Pushing code to GitHub using eclipse IDE, but the project to push is the Maven project now
created*

Make sure [Link] is in the root directory of the GitHub repository, this is crucial for pipeline
to work
Also make sure in the current browser itself, GitHub you have logged in

Step 4:

Now log in to Microsoft Azzure and go to Azzure Devops, create new project demo1

(if not already created)


Step 5:

Select the newly created project

Step 6:
Select Project Settings

Step 7:
Select Parallel Jobs
Step 8: select change

Step 9: select Start free trial


Step 10: Confirm Start free trial
After confirming this will be the view:

Step 12:

Now navigate back to project:

in top right : Click on the username: in this case


ranganathcse (it will your username in your login)

> Select project


Step 13: Select Pipeline:

Step 14: Select Create Pipeline

Step 15: Select GitHub


(if already configured directly repo list will come otherwise
it will ask permission to connect and access all repositories, so allow if requested)

Step 16: Select Maven (the first option: )


Step 17: Review: Confirm it by selecting Save And Run (no changes in the YAML file)

Step 18: Committing the pipeline: Select Save and Run again
Step 19: Pipeline built yet to run

Pipeline started running: (warnings will come, ignore it*)


Pipeline Finished building successfully

This marks the conclusion of Program 10

You might also like