Skip to content
This repository has been archived by the owner on Mar 24, 2022. It is now read-only.

vmware-archive/cf-jenkins-bosh

 
 

Repository files navigation

cf-jenkins

Build Status

This repository is a Chef cookbook for configuring Jenkins for continuous integration of Cloud Foundry projects.

Usage

Running unit tests

To run the unit tests (using ChefSpec):

bundle exec rake spec:unit

Running integration tests

After installing vagrant and the omnibus Chef plugin:

brew install vagrant
vagrant plugin install vagrant-omnibus

To run the integration specs:

bundle exec rake spec:integration

However, that command can take an uncomfortably long time while you're iterating on changing the cookbook because it creates the VM from scratch every time. A faster way to iterate would be to run the vagrant commands manually and run the tests using RSpec directly.

vagrant up
bundle exec rspec spec/integration

Upon changing code in the cookbook, you can re-provision the Vagrant VMs individually to cut down on waiting.

vagrant provision {master,slave}

About

Cookbooks for Cloud Foundry Jenkins

Resources

License

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Ruby 64.7%
  • HTML 35.3%