Welcome to linuxnix.com. We are here to learn about a build tool called Maven. In this blog, we will go through Maven basics, its characteristics, advantages, disadvantages, Maven POM and its comparison to other tools. What is Maven? Maven is a project management and comprehension tool written in Java language that provides developers a complete build lifecycle. It is mainly used for Java projects based on the Project object model (POM). It builds, reports and document from the information present in POM. It helps developers to automate the builds, creating reports and test automation steps. Maven provides developers to manage the following: Builds Documentation Reporting Dependencies SCMs Releases Distribution Mailing list Maven Evolution Maven was originally designed to build projects for Jakarta Turbine project. There were several projects and each project was built with a slightly different build file. Apache group then built Maven which can build multiple projects together and publish the jar/war files locally or across different tools. Maven System Requirement Maven is a Java-based tool so the basic requirement is Java. JDK 1.7 or above Memory No min. requirement Disk Space No min. requirement Operating System Almost all the Operating Systems Features of Maven Immediate access to new features in a small amount of time or no time. It is able to build any number of projects which has predefined outputs...Read More
Author: Ankesh K
Welcome to linuxnix.com. In this blog, we are going to see all the possible ways of installing Jenkins. We will go through the steps of installation and configure Jenkins once it is setup. If you want to go through the Jenkins basics, click here and If you want to go deep into the Jenkins functionalities, click here. Jenkins Installation Jenkins can be installed on different platforms (such as Linux, Windows, etc) and set-up in different ways. As a jar file deployed using Java. As a repository in Linux environments. As a war file deployed to a Servlet such as Apache Tomcat. As a Docker container either locally or on a public or private cloud. As a SAAS hosted by the companies like Cloudbees, Azure, etc. 1. Jenkins installation as a jar file deployed using Java Step 1: Java Installation – Here we are using Ubuntu 16.04 LTS. First of all, Java should be installed on to the server and Java Home should be set. Step 2: We need to download jenkins.war file from https://jenkins.io/download/ and choose the Long Term Support (LTS) version for downloads. wget http://mirrors.jenkins.io/war-stable/latest/jenkins.war Step 3: Unpack the war file and install Jenkins using the below command. java –jar jenkins.war Step 4: Once Jenkins is installed, we need to hit the URL http://<ip-address>:8080 to go to the Jenkins UI. 2. Jenkins installed as...Read More
Welcome to linuxnix.com. In this blog, we are going to know about TeamCity, its characteristics, advantages, disadvantages and its comparison with other tools. TeamCity comes under Continuous Integration (CI) tools and gives competition to the tools like Jenkins and Bamboo. If you want to know more about CI-CD, click here. Let’s get started. What is TeamCity? Teamcity is Continuous Integration tool written in Java language which supports building and deploying different types of projects, established by Jet brains. It is a commercial tool and licensed under a proprietary license, Freemium software license up to 100 build configurations and 3 free build agents are available. Features of TeamCity It provides several ways to reuse the settings of the parent project to subproject. For a single build Teamcity can take source code from two different VCS. It can also detect builds which are hung. For easy access you can mark build. We can run parallel builds simultaneously on different environments. Formatted text can be set for Build status which makes server to perform some actions. You can build docker images in separate step with the extension to other runners (Gradle, Maven, etc). Testers can be replaced with agents. Architecture of TeamCity TeamCity used distributed grid architecture. It means TeamCity build system comprises of the server and Build Agents which runs the builds. Build Agent is the software...Read More
Take this course
My name is Surendra Kumar Anne. I hail from Vijayawada which is cultural capital of south Indian state of Andhra Pradesh. I am a Linux evangelist who believes in Hard work, A down to earth person, Likes to share knowledge with others, Loves dogs, Likes photography. At present I work at Bank of America as Sr. Analyst Systems and Administration. You can contact me at surendra (@) linuxnix dot com.