Skip to content

mrhoades/boot-hpcloud-vm

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

71 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Boot-HPCloud-VM

Jenkins jruby plugin that boots an openstack vm, ssh to node and run commands. Props to Tim Miller (aka echohead) for the novawhiz code, jenkins-devstack-plugin prototype, and help with debugging.

Deploy plugin to Jenkins

  1. Login to your Jenkins instance as an admin user
  • Manage Jenkins > Manage Plugins > Advanced Tab
  • Upload the boot-hpcloud-vm.hpi plugin using the Upload dialog on Advanced Tab. Note that a build is provided for your convenience in this repo at pkg/boot-hpcloud-vm.hpi.
  • Using Jenkins plugin manager, install required "Token Macro Plugin" and "ruby-runtime" plugins
  • Restart Jenkins
  • Now "Boot HP Cloud VM" will appear in job build steps dropdown

Development Setup on Ubuntu 12.10

=== Install RVM with ruby 2.x and jruby 1.7.3

  • curl -#L https://get.rvm.io | bash -s stable --autolibs=3 --ruby
  • source ~/.rvm/scripts/rvm
  • rvm install jruby

=== Git the source code

  • git clone git://github.com/mrhoades/boot-hpcloud-vm.git
  • cd boot-hpcloud-vm

=== Debug with 'Jenkins Ruby Plugin Tools'

  • rvm use jruby-1.7.3
  • bundle install
  • gem install jpi
  • jpi server
  • Now see plugin in jenkins at http://localhost:8080

=== Build Plugin with 'Jenkins Ruby Plugin Tools'

  • jpi build

=== Getting Started Developing Ruby Plugins

About

jenkins jruby plugin that boots an openstack vm

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors