From the course: Jenkins Essential Training

Unlock the full course today

Join today to access over 23,200 courses taught by industry experts.

Solution: Connect Jenkins to GitHub

Solution: Connect Jenkins to GitHub - Jenkins Tutorial

From the course: Jenkins Essential Training

Solution: Connect Jenkins to GitHub

(upbeat music) - [Instructor] We've got quite a few tasks to take care of in this challenge. And I'm starting here in GitHub where I've created a new repo and added the exercise files. I have a Jenkins file and the script which runs the algorithm to compute the value of Pi. I'm going to start here by getting the URL for this repo so when I create a job in Jenkins I can connect it back to this repo. So I'll click the code button here. And on the HTTPS tab, I will click these stacked squares to copy the URL. And now I'll go over to my Jenkins server. In the Jenkins server, I'll click new item and I'm going to use the same name as the repo that I created. I called it pi-challenge and then I'll click pipeline and then, okay. All right. This is a GitHub project. So I'll go ahead and add the URL here in case I need to get back to the repo and then I'll scroll down to build triggers. I need to enable GitHub hook…

Contents