Home » Jenkins

Tag Archives: Jenkins

Third Time Around

As I move between clients, I’m building a playbook of tools I like to have/make in order to help manage the environment. While I remember how a tool needs to be made, each environment calls for a different implementation. I’ve recently rebuilt a classic tool, and I was surprised how I approached it differently. The Jenkins Build Visualizer The original ...

Read More »

Comprehensive Guide To Jenkins Declarative Pipeline [With Examples]

Jenkins Pipeline is an automation solution that lets you create simple or complex (template) pipelines via the DSL used in each pipeline. Jenkins provides two ways of developing a pipeline- Scripted and Declarative. Traditionally, Jenkins jobs were created using Jenkins UI called FreeStyle jobs. In Jenkins 2.0, Jenkins introduced a new way to create jobs using the technique called pipeline ...

Read More »

How To Create & Run A Job In Jenkins Using Jenkins Freestyle Project?

As per the official Jenkins wiki information, a Jenkins freestyle project is a typical build job or task. This may be as simple as building or packaging an application, running tests, building or sending a report, or even merely running few commands. Collating data for tests can also be done by Jenkins. For instance, a real-world scenario could involve Jenkins ...

Read More »

Using Jenkins as your go-to CI/CD tool

Introduction Everyone loves Agile and the way it is replacing all the older methodologies and development models with a streamlined and sustainable system for faster delivery cycles. However, the ever-prevailing Manual testing practice has always kept the QA teams from entirely adopting Continuous Integration and Continuous Delivery, making Agility unreachable. Fortunately, tools like Jenkins help reach the goals of the ...

Read More »

How To Generate TestNG Reports In Jenkins?

TestNG is an open-source automated testing framework, where ‘NG’ of TestNG is Next Generation. It is similar to JUnit but designed to be better than JUnit, especially when testing integrated classes. With the help of simple annotations, grouping, sequencing & parametrization, TestNG overcomes most of the older system’s limitations and gives the developer the ability to write more versatile and ...

Read More »

Jenkins: Automating your delivery pipeline

In this post, we are going to create a Jenkins pipeline for a Java Spring project using Maven and Git: Accessing Jenkins dashboard and configuring Maven in Jenkins: Click on “Manage Jenkins” and then in “Global Tool Configuration” Add a Maven installation and provide a name for it. Click on Save. Creation of our first build job in Jenkins for ...

Read More »

Best Jenkins Pipeline Tutorial For Beginners [Examples]

Jenkins CI/CD has always been the goto option for DevOps professionals and beginners. It has more than 16,000 stars on GitHub and 6,500 forks. Being one of the oldest players in the CI/CD market, Jenkins has huge community support with more than 1500 plugins to help professionals ship faster through their Jenkins Pipelines. Whether you are just starting off your ...

Read More »

Checking for Artifactory in a Jenkins Pipeline

One of my projects uses the Artifactory as the repository manager. Unfortunately when doing a Jenkins pipeline build, I sometimes forget to ensure the Artifactory server is up first and find the job has failed after running for a while. I’ve added some script to my Jenkinsfile that will check for the Artifactory server early on and fail fast if ...

Read More »

The Perils of the Shared Jenkins and Making Decisions

You may be thinking of sharing a Jenkins server, perhaps you’re worried about: Who has the time to do admin on multiple servers?How can we be sure that we don’t open a gaping chasm (it happens) on our network making our code and test environment public?Ensuring people use a standard toolsetAvoiding the cost of multiple copies of the same services ...

Read More »