While Jenkins jobs can be created manually, using scripted or declarative Jenkins pipelines is easier to version, easier to maintain, and easier to keep alongside your application's source code. In this video, learn how to use the Jenkins Scripted Pipeline to write a Jenkinsfile that can build, test, and deploy your application.
- [Instructor] In this course, we will demonstrate … how to create a simple Jenkins file … that we can use to deploy Explore California. … Note that we're using a dockerized instance … of Jenkins for this demo. … If you're not using that at your workplace, … I highly recommend talking to your admins about it. … It is pretty neat. … And if you want to see what that service looks like, … you can check out docker-compose.yml in your exercise files. … So let's start by creating a Jenkins file. … Normally, the address, call it Jenkinsfile, … you can change the name. … You just need to change some configurations … that we'll demonstrate in a later chapter. … But normally, they're called Jenkins files. … There are two types of Jenkins pipelines … that the pipeline plugin within Jenkins supports. … There is the declarative pipeline and the scripted pipeline. … The main differences between the two … come down to syntax and flexibility. … Scripted pipelines adhere more closely to Groovy syntax, …
- Writing your first Dockerfile
- Using Docker Compose
- Testing your app with RSpec, Capybara, and Selenium
- Writing Terraform code
- Deploying a website into AWS S3
- Writing and running integration tests
- Writing a CI/CD pipeline with Jenkins
Skill Level Beginner
1. The Project/The Mission
Your application, pre-DevOps2m 59s
2. Testing Locally with Docker
3. Testing Your App with RSpec, Capybara, and Selenium
4. Infrastructure as Code with Terraform
5. CI/CD as Code with Jenkins
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
This will not affect your course history, your reports, or your certificates of completion for this course.Cancel
Take notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.
Notes are saved with you account but can also be exported as plain text, MS Word, PDF, Google Doc, or Evernote.