JenkinsFile In this tutorial I am going to show you how to read YAML/YML config file in JenkinsFile. The JenkinsFIle is used for Jenkins pipeline which is used to perform many steps such as, building, testing, deploying a job through Jenkins. The yaml/yml config file can be a PCF manifest file or any other config…

Posted in Jenkins PCF

How To Read YAML File Into JenkinsFile

Problem While you are building a Jenkins pipeline job through Jenkins for the first time, you may encounter such error “failed to find any usable tags for the pipeline in pipelineMode“. This error may arise due to the fact that you have created the branch recently and there is no tag version yet released for…

Posted in Git Jenkins

Jenkins – failed to find any usable tags for the pipeline in mode

Introduction Jenkins Pipeline (or simply “Pipeline”) is a suite of plugins which supports implementing and integrating continuous delivery pipelines into Jenkins. A continuous delivery pipeline is an automated expression of your process for getting software from version control right through to your users and customers. Jenkins Pipeline provides an extensible set of tools for modeling…

Posted in Java Jenkins

How to create Jenkins Pipeline for Java Project

Introduction Here I will show you an example on creating and building jobs in Jenkins. We know that Jenkins is a build tool that helps us to automate building, releasing and deploying of the application to appropriate environment. But before we start building application, we need to create a job for that application. Then only…

Posted in Jenkins

Creating and Building Jobs in Jenkins

Introduction Here I will show you how to manage Jenkins – configuring JDK, GIT and Maven installations. We build mainly Java applications (also .NET applications) using Jenkins. Therefore we need to have everything which are required to perform build operation of Java applications, i.e., we need to have JDK, GIT or SVN or any other…

Posted in Jenkins

Manage Jenkins – Configuring JDK, GIT and Maven

Introduction This tutorial is about Jenkins setup in Windows and shows you how you can configure the most popular build tool in Windows environment. If you have ever worked on production support or support project where you need to monitor the applications as well as you need to enhance the functionalities of the application then…

Posted in Jenkins

Jenkins Setup in Windows

Introduction In this post I will show you how to resolve error on Jenkins: detecting the current branch failed: fatal: ref HEAD is not a symbolic ref. Note that I am using Jenkins version 1.651. If you have different version of Jenkins then this solution may now work.

Posted in Jenkins

Jenkins: Detecting the current branch failed: fatal: ref HEAD is not a symbolic ref

Introduction This tutorial will show you how to deploy both war and jar file from an web application using maven in Jenkins. By default when we build the web project in Jenkins then the war file gets uploaded into nexus repository but not the jar file. Sometimes we need to upload both war and jar…

Posted in Jenkins Maven

Deploy both war and jar files into Nexus using maven in Jenkins