Skip to content

For an introductory tutorial on how to use Jenkins to build a simple Node.js and React application with npm.

Notifications You must be signed in to change notification settings

gregbrowndev/simple-node-js-react-npm-app

 
 

Repository files navigation

simple-node-js-react-npm-app

This repository is for the Build a Node.js and React app with npm tutorial in the Jenkins User Documentation.

The repository contains a simple Node.js and React application which generates a web page with the content "Welcome to React" and is accompanied by a test to check that the application renders satisfactorily.

The jenkins directory contains an example of the Jenkinsfile (i.e. Pipeline) you'll be creating yourself during the tutorial and the scripts subdirectory contains shell scripts with commands that are executed when Jenkins processes the "Test" and "Deliver" stages of your Pipeline.

Using the Registry

Manually:

docker image build -t localhost:5000/simple-react-app .

Push:

docker push localhost:5000/simple-react-app

Remove local image:

docker image rm localhost:5000/simple-react-app

Pull:

docker pull localhost:5000/simple-react-app

TODO - Set up Jenkins to build and push images into registry

About

For an introductory tutorial on how to use Jenkins to build a simple Node.js and React application with npm.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 49.2%
  • Shell 24.4%
  • HTML 15.6%
  • Groovy 6.5%
  • CSS 4.3%