ZQL-8884 Jenkins as a Code | Devoxx

Jenkins as a Code

Conference

cloud Cloud, Containers & Infrastructure Click here to save this talk in your agenda

Room 5

Friday at 14:30 - 15:20

Jobs in Jenkins (or any other CI/CD tool) can be created and updated manually using GUI. It is ok if you have a few/several of them. However, most of the companies grow and you can quickly wake up with dozens or hundreds of jobs to maintain.

A new email address/alias to get notification about failed builds? Global migration to the better™ SCM? No way to do it manually with GUI in a convenient way. It just doesn’t scale. Manual scripts using Jenkins API? Better, but hard to test and maintain. The same applies to plugin installation, credentials managements etc. Luckily, there is a better way.

During the talk we will present how Jenkins Job DSL together with Ansible can be used to automatically provision Jenkins instance and maintain any number of jobs. We will show how to define jobs and views in Groovy based DSL and test automatically that the generated structures are exactly the same as expected in Jenkins. Expect live demo - we will setup fully functional Jenkins instance with just one click!

P.S. Jenkins 2.0 brought a breath of fresh air to the ecosystem. Find out how it impacted Jenkins management.

Marcin Zajączkowski Marcin Zajączkowski

Experienced architect aiming for high quality solutions. Very engaged in evangelising Software Craftsmanship, Clean Code and Test-Driven Development as a conference speaker and trainer. An expert in deployment automation with Continuous Delivery and Continuous Inspection of Code Quality. An enthusiast of Reactive Systems and broadly defined concurrency. Besides, open source author and contributor, a proud Linux user.

Łukasz Szczęsny Łukasz Szczęsny

Łukasz is an experienced system engineer with solid background in GNU/Linux systems administration. He is an enthusiast of Free and Open Source Software and Open Hardware. Co-organizer of Warsaw Linux User Group. Fan of DevOps and automation.