Jenkins Tutorial - Build a Node JS and React Application using npm in a pipeline without Docker

preview_player
Показать описание
Learn how to build a Node JS and React Application using npm in a jenkins pipeline without using Docker. Following will be covered in this video:
- Node JS Plugin
- Node JS and Jenkins Configuration
- Pipeline Script

Pipeline Script:
pipeline {
agent any
tools {nodejs "node"}
stages {
stage('Build') {
steps {
bat 'npm install'
}}}}
Рекомендации по теме
Комментарии
Автор

It is helpful video thanks for giving information

rajivpandey
Автор

Hi very nice tutorial I believe its good to pass npm run build after npm install to get to know if there are any errors

adarshnaik
Автор

Hi @QASCRIPT,
In this video, we have a build section and you have mention how to deploy on a local machine but I have Jenkins on different server and deployment of node is on a different server can you help me in this?

sdeep
Автор

When run "npm run build" from execute shell script section, it creates build of react app but i am unable to click on any button, all button are stops working (click not working) inside react app

sahibzadafahad
Автор

Hi @QASCRIPT,
in this video we only have build section. How to deploy it in local server, means how to generate build folder(artifact)

sunilkumar-zfdx
Автор

my npm install is keeps running more than 10 mins, and am working the procedure with my own project .... am very new to jenkins and progrmming please help me.

aravindmunna
Автор

What URL do I visit to see the react app? After all is done?

batladgaming
Автор

i have successfully set up jenkins using docker but blueocean plugin is not installed it shows that your version is older to use blueocean

mihirjoshi
Автор

Great video..do you have the tutorial for jenkin pipeline of react native android app?

bcazof