项目作者: ndobson

项目描述 :
Chef library cookbook for creating Jenkins jobs
高级语言: Ruby
项目地址: git://github.com/ndobson/chef_jenkins.git
创建时间: 2017-05-12T17:44:22Z
项目社区:https://github.com/ndobson/chef_jenkins

开源协议:Apache License 2.0

下载


chef_jenkins

Build Status Cookbook Version

This cookbook extends the already awesome Jenkins cookbook to provide a set of resources to make Jenkins job generating a little more painless,
heavily leverages templates and partial templates.

Requirements

Platforms

  • Debian/Ubuntu
  • RHEL/CentOS/Scientific/Amazon/Oracle

Chef

  • Chef 12.5+

Cookbooks

  • jenkins

Examples

The tests and fixture cookbooks in tests and tests/fixtures are intended to be a source of examples.

Resource/Provider

All resources support auto-generation of nested folders. Common attributes for all job types:

  • job_name - String, name_property: true
  • description - String, default: ‘Generated by Chef’
  • display_name - , String
  • template - String, default: ‘freestyle-config.xml.erb’
  • include_templates - Array, default: []
  • auto_create_folders - [true, false], default: true

chef_jenkins_folder

This resource creates one or more folder items in Jenkins. Requires the CloudBees Folders plugin to be installed.

chef_jenkins_freestyle

This resource creates a Jenkins freestyle job.

chef_jenkins_pipeline

This resource creates a Jenkins Pipeline job. Requires the Pipeline plugin and it’s dependencies to be installed.

chef_jenkins_github_org

This resource creates a Jenkins Github organization job. Requires the Pipeline plugin and it’s dependencies to be installed.

chef_jenkins_multibranch_pipeline

This resource creates a Jenkins Multibranch Pipeline job. Requires the GitHub Branch Source plugin and it’s dependencies to be installed.