Skip to content

Latest commit

 

History

History
32 lines (24 loc) · 1.57 KB

README.md

File metadata and controls

32 lines (24 loc) · 1.57 KB

Jenkins Configuration-as-Code Demo

Jenkins configuration-as-code demo made with groovy hook scripts.

This is massively based on oleg-nenashev/demo-jenkins-config-as-code. Just adding more plugin configuration code snippets.

Introduction to Groovy Hooks

Base docker image

Configured Plugins

Additionally, it shows how to configure a Linux slave and Parallels Desktop Cloud slave with SSH credentials. Hook scripts can be configured via environment variables set in jenkins2.sh.

Building

docker build -t atikhono/jenkins-groovy-hook-scripts .

Usage

docker run -p 8080:8080 -p 50000:50000 atikhono/jenkins-groovy-hook-scripts