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.
After setting up Jenkins we need to configure NodeJS on Jenkins.
Open Jenkins: Manage Jenkins > Plugin Manager > Install NodeJS plugin.
Open Jenkins: Manage Jenkins > Global Tool Configuration > NodeJS
Set your compatible node version. We can set multiple NodeJS version for multiple application.
Jenkins
> New Item > Enter any job name> Choose Freestyle Project > Click on Save button.
2. Source Code Management > Check Git
and give Repository URL:
$branch
#javascript #automation-testing #jenkins #nodejs #ci-cd-pipeline