We will create our first pipeline by using the Jenkins 2.0 UI and will also create a Jenkinsfile with the pipeline editor that is built in to the new Jenkins 2.0 UI.
The Jenkins pipeline
Creating a Jenkins pipeline
The first step we will do is click the Create a new Pipeline button. You will be redirected to the following screen:
For the purposes of this chapter, we will use an existing GitHub repository that I created, but you can easily use Bitbucket and your own code that is hosted on either GitHub or Bitbucket. In order for this to work, you will need to make sure that you have an account on GitHub, and if you do not, make sure to sign up for GitHub (https://github.com/).