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