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:
- 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: ...