Giter VIP home page Giter VIP logo

jenkins-liatrio's Introduction

jenkins-liatrio Cookbook

A wrapper cookbook that installs jenkins to be used with archiva-liatrio, sonarqube-liatrio, tomcat-liatrio, selenium-liatrio, and hygieia-liatrio in a pipeline.

Requirements

The following versions of ChefDK, Vagrant, and VirtualBox.

$ chef -v
Chef Development Kit Version: 0.16.28
chef-client version: 12.12.15
delivery version: master (921828facad8a8bbbd767368bfc72f19bd30e7bd)
berks version: 4.3.5
kitchen version: 1.10.2

$ vagrant -v
Vagrant 1.8.4

$ VBoxManage -v
5.0.26r108824

Warning: Do not have vagrant-vbguest plugin installed as there is a conflict.

Usage

jenkins-liatrio::default

vagrant up

or

Just include jenkins-liatrio in your node's run_list:

{
  "name":"my_node",
  "run_list": [
    "recipe[jenkins-liatrio]"
    "recipe[jenkins-liatrio::install_plugins]"
    "recipe[jenkins-liatrio::create_job]"
    "recipe[jenkins-liatrio::create_creds]"
  ]
}

Attributes

default[:jenkins_liatrio][:create_job][:maven_goals] = 'clean install'
default[:jenkins_liatrio][:nexus_repo] = 'nexus.local'
default[:jenkins_liatrio][:packages]              = %w{java-1.8.0-openjdk-devel java-1.8.0-openjdk maven maven-war-plugin}
default[:jenkins_liatrio][:sleep_interval_small]  = 3
default[:jenkins_liatrio][:install_plugins][:plugins_list]  = %w{git github naginator sonar}
default[:jenkins_liatrio][:install_plugins][:enablearchiva]	= false
default[:jenkins_liatrio][:install_plugins][:maven_mirror]	= "http://localhost:8081/repository/internal"
default[:jenkins_liatrio][:install_plugins][:enablesonar]		= false
default[:jenkins_liatrio][:install_plugins][:enablearchiva]		= false
default[:jenkins_liatrio][:install_plugins][:sonarurl]		  = "http://localhost:9000"
default[:jenkins_liatrio][:install_plugins][:sonarjdbcurl]	= "tcp://localhost:9092/sonar"
default[:jenkins_liatrio][:install_plugins][:jenkinsdlurl]	= "http://pkg.jenkins-ci.org/redhat/jenkins-1.653-1.1.noarch.rpm"
default[:jenkins_liatrio][:install_plugins][:githuburl]     = "https://github.com/drewliatro/spring-petclinic/"
default[:jenkins_liatrio][:install_plugins][:giturl]		    = "https://github.com/drew-liatrio/spring-petclinic.git"
default[:jenkins_liatrio][:install_plugins][:hygieia_url]   = "http://192.168.100.10:8080/api/"

Contributing

  1. Fork the repository on Github
  2. Create a named feature branch (like add_component_x)
  3. Write your change
  4. Write tests for your change (if applicable)
  5. Run the tests, ensuring they all pass
  6. Submit a Pull Request using Github

License and Authors

Authors: Drew Holt [email protected]

jenkins-liatrio's People

Contributors

drew-holt avatar ebracho avatar jbankes avatar shanemacbride avatar tylerliatrio avatar urbaitel avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.