Setting up the Jenkinsfile in a Jenkins server

Now that our Jenkinsfile is ready, let's set up CI/CD for our application. First, we need to upload our application to a GIT server, such as GitHub, GitLab, or BitBucket. Let's use GitHub (https://github.com/) for this. Make sure you have an account created in GitHub first:

  1. In GitHub, create a new repository (https://github.com/new); let's call it online-store. Do not check the Initialize this repository with a README option. Once created, you will see instructions to add code. Let's go with the option of push an existing repository from the command line by running the following commands inside our online-store application folder. Do not forget to replace <username> with your actual GitHub username: ...

Get Full Stack Development with JHipster now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.