Let us now create a feature branch out of the master branch and see if Jenkins can run a pipeline for it:
- To do so, log in to your GitHub account.
- Go to your respective GitHub repository; in our case it's simple-maven-project-with-tests.
- Click on the Branch: master button and type a name for your new branch in the empty text box. Next, click on the Create branch: feature option to create a new branch named feature, as shown in the following screenshot:
Creating a feature branch
- This should immediately trigger a pipeline inside Jenkins for our new feature branch:
Pipeline ...