From the course: Running Jenkins on AWS: Deploying and Managing Jenkins on Cloud Infrastructure
Unlock this course with a free trial
Join today to access over 24,900 courses taught by industry experts.
Create a freestyle job to deploy code from GitHub, part 1
From the course: Running Jenkins on AWS: Deploying and Managing Jenkins on Cloud Infrastructure
Create a freestyle job to deploy code from GitHub, part 1
- [Instructor] Now that we have the web app deployed in AWS Lambda and a GitHub repository with a code for the application, we need to configure a Jenkins job that deploys the application whenever a change is pushed to the repo. I'm starting in GitHub to get the URL for our repo, I'll select code and then HTTPS. Then I'll select the icon to copy the URL. Now let's go to Jenkins. In the Jenkins tab, I'll select new item. For the job name let's stick with the same name we use for the application and the repo, python-api. We'll be using a freestyle project, so I'll select that and then select OK. For the job description, let's explain exactly what this job does. It deploys our application to AWS Lambda. To start the configuration, we need to select the option to restrict where this project can run. If we add any more build servers with different roles, we want to make sure that this job runs on a server that has the Lambda role. So I'll select this option and enter Lambda. Now let's move…
Contents
-
-
-
-
-
-
(Locked)
Initialize the deployment target in AWS Lambda2m 29s
-
(Locked)
Create a GitHub repository for the application code1m 4s
-
(Locked)
Create a freestyle job to deploy code from GitHub, part 13m 2s
-
(Locked)
Create a freestyle job to deploy code from GitHub, part 22m 53s
-
(Locked)
Deploy to AWS Lambda from GitHub2m 27s
-
(Locked)
Solution: Deploy to AWS Lambda from GitHub3m 16s
-
(Locked)
-
-