Posts

Showing posts from September, 2020

Maven for build Automation explained easy

  Maven tool from Apache is used for the build automation . To install maven in windows environment  https://mkyong.com/maven/how-to-install-maven-in-windows/ Earlier, there used to be a manual build to be done by the developer and provide the generated war, jar, or ear file to the testing team. The testing team conducts multiple scenarios and thus finally sent to the administration team. then they follow the deployment procedure to make the application available to access. With the help of maven one can generate the build from anywhere without installing the eclipse in the environment, and the test cases also can be run along with the maven and on success or failure generate a report and thus continue the process. The other main advantage of the Maven is the addition of dependencies. i.e, the jar files or library files that are required to fulfill some of the functionalities of the development are to be added manually in the beginning. But, with maven one can just import the ...

Jenkins Project creation and multiple options for build for Continues integration.

Image
The installation procedure we discussed in the previous blog. We shall start with creation of a new project and find the various built options available with jenkins.  Make sure the Jenkins.war is running using the command prompt using commenad  java -jar jenkins.war. Once it is up and running you will get the login page on setting up of admin password and install recommend plugins as discussed in the previous blog. Log in to the Jenkins dashboard with the admin password. Once logged in you can find the screen as below. Find the "new Item" Click on the new item tab and you will find the below screen. Here we have multiple options. Based on the requirement stated at your company, you will be choosing the project type. You will enter the project name for further access. Here we choose "Freestyle project" to discuss in brief the options available in the jenkins. Lets dive deep inside with options available. As below screen we can find the multiple segments available wi...

Jenkins installation and admin password setup and access Jenkins in browser.

Image
 Make sure JDK 8 is installed on the device.  Open the command prompt and search the command java -version If not available, download from the below link and intsll with a single click. https://www.oracle.com/sa/java/technologies/javase/javase-jdk8-downloads.html Download the Jenkins war file from the below URL, click the first link were the updated version is available for download. https://updates.jenkins-ci.org/download/war/ Save the admin key that is generated See the message fo jenkins UP and running  Once you see the message, Open your web browser and go to http://localhost:8080/ You will find the below screen Unlock the jenkins with the saved admin password. this is to be done for one time. Create Admin user with customised password Select Install Suggested Plugins The plugin installation starts, It will take few minutes Once the plugin installation is done, the dashboard is ready to access. It appears as below. For creation of a project in the Jenkins visit next b...