I accumulated this information from above link while preparing for AZ-900 exam so sharing here.
Now let us see how we can setup and configure maven in Jenkins
To do the GitHub setup, make sure that Jenkins is installed, if not check my previous post. Git already comes installed if you select "Install suggested plugins" while setting up Jenkins Step 1: Go to Manage jenkins Step 2: Click on Manage Plugin Step 3: Go to available tab and search for Git if git … Continue reading Git and GitHub setup in Jenkins
Setting up Jenkins on Windows 10
Amazon Route53 ensures that your applications are available with minimal amount of downtime. Let us see how we configure disaster recovery scenario using Route53.
Application class in Spring boot is used to bootstrap and launch the Spring application from a Java main method. This class automatically creates the ApplicationContext from the classpath, it scans the configuration classes and launches the application.
The full form of POM is Project Object Model. It is a fundamental unit of work in Maven. pom is a XML file that contains information about the project and configuration details used by Maven to build the project.
We can create a simple spring boot project with spring initialzr or directly in STS. We will use spring initializr for this tutorial to create an simple spring boot project. Required softwares are: Java JDKSTS 4Maven 3.5Postman Let us get started. 🙂 Step 1: Go to https://start.spring.io/ Step 2: Fill the details like Project type … Continue reading Spring Boot-Series Part 1: Setting up the maven based Spring boot application in STS or Eclipse IDE
Mockito is an open source framework that allows you to easily create mocks (test doubles). Mocks are objects that have return values to method executions made during the test and has recorded expectations of these executions. Mocks can also throw an exception if they receive a call they don’t expect. They are checked during verification to ensure … Continue reading Mockito 101 – Unit Testing in Java Apps
Whoa so you just pulled from the master branch and lost your local changes which were committed but not pushed to repo? No problem!! You can use the following command: $ git reflog show "reflog" is used to reference logs, record when the tips of branches and other references were updated in the local repository. … Continue reading How do you undo a git pull or git merge?
In this tutorial we will see how we can quickly get started with Microsoft Azure and create a simple web app on WordPress and deploy the same on Azure Prerequisites for this are Azure Free Subscription. and absic knowledge of cloud concepts Login into your Azure Portal. Click on "Create Resource" Azure Portal Search for … Continue reading Creating and Deploying a Quick WordPress app on Azure