Jenkins configuration as code plugin vs Pipeline

Viewed 773

I'm looking at options of configuring Jenkins as code. What I've found so far are those two options:

What I don't understand yet is how those two work with each other? Do they both do the same and should I choose either one or another? Or maybe they do different things, in such case it would be great to know if those two can actually work together.

1 Answers

You can use pipeline to configure the build process as code.

You can use Jenkins Configuration as Code to configure the Jenkins instance as code.

You should also have a look at Job DSL Plugin to configure the jobs (everything but the build process) as code.

You may have a look at this repo to see it all work together: https://github.com/tomasbjerre/jenkins-configuration-as-code-sandbox

Related