From the course: DevOps Foundations: Your First Project

Unlock the full course today

Join today to access over 22,600 courses taught by industry experts or purchase this course individually.

Writing a Jenkinsfile for the app

Writing a Jenkinsfile for the app

From the course: DevOps Foundations: Your First Project

Start my 1-month free trial

Writing a Jenkinsfile for the app

- [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…

Contents