CI/CD Pipeline for a NodeJS Application with Jenkins

CI/CD Pipeline for a NodeJS Application with Jenkins

In this article, we are talking about how to Build Node.js and React application on Jenkins with Freestyle Project. CI/CD Pipeline for a NodeJS Application with Jenkins

In this article, we are talking about how to Build Node.js and React application on Jenkins with Freestyle Project.

If you don’t have setup Jenkins on your machine please follow this article.

Setup Jenkins on CentOS with Docker for Selenium

After setting up Jenkins we need to configure NodeJS on Jenkins.

Install NodeJS plugin

Open Jenkins: Manage Jenkins > Plugin Manager > Install NodeJS plugin.

Image for post

Global Tool Configuration

Open Jenkins: Manage Jenkins > Global Tool Configuration > NodeJS

Set your compatible node version. We can set multiple NodeJS version for multiple application.

Image for post

1: Build Application with freestyle.

Create a Node application job

  1. Open Jenkins > New Item > Enter any job name> Choose Freestyle Project > **Click on Save button**.

Image for post

2. Source Code Management > Check Git and give Repository URL:

  • Git URL to your repo. Take this URL from Github. It should be the format of [email protected]:{username}/{repo}.git
  • Credentials: Select the one you created before.
  • Branches to build: $branch

Image for post

javascript automation-testing jenkins nodejs ci-cd-pipeline

What is Geek Coin

What is GeekCash, Geek Token

Best Visual Studio Code Themes of 2021

Bootstrap 5 Tutorial - Bootstrap 5 Crash Course for Beginners

Nest.JS Tutorial for Beginners

Hello Vue 3: A First Look at Vue 3 and the Composition API

Top 10 Automation Testing Tools: 2020 Edition

The demand for delivering quality software faster — or “Quality at Speed” — requires organizations to search for solutions in Agile, continuous integration (CI), and DevOps methodologies. Test automation is an essential part of these aspects.

Simple CI/CD Pipeline Using Jenkins

In this blog we gone a see creating a CI/CD Pipeline using Jenkins. Some pre-requisites to create a CI/CD pipeline using Jenkins are Open-JDK-8, Jenkins installed on our system. At the very first we see a little bit introduction of Jenkins and why we need Jenkins Pipeline. Some pre-requisites to create a CI/CD pipeline using Jenkins are. Open-JDK-8Je

Automate Jenkins Pipelines management

Automate Jenkins Pipelines management. Jenkins Job Builder takes simple descriptions of Jenkins jobs in YAML or JSON format and uses them to configure Jenkins. In the article, I will walk through a simple Jenkins Pipelines Template and procedures for the setup.

Travis CI vs Jenkins: Which CI/CD Tool Is Right For You?

The ultimate showdown between Travis CI vs Jenkins. Check out this guide to know who wins the race! Travis CI and Jenkins are both popular CI/CD tools and were launched in the same year i.e. 2011. As of July 2020, Jenkins has been the more obvious choice as CI/CD tool with 15.9k stars & 6.3k forks, in comparison to TravisCI which has 8k stars & 756 forks. However, these numbers alone don’t imply which CI/CD tool is more suitable for your upcoming or existing project. Jenkins is an open-source & Travis CI is free for open-source projects.

Serverless CI/CD on the AWS Cloud

To set up a serverless CI/CD pipeline in your AWS environments, there are several key services that you need to use. Find out more here.