Skip to content

Commit

Permalink
kick hudson after installing it to ensure it has created it's workspa…
Browse files Browse the repository at this point in the history
…ce properly:
  • Loading branch information
quamen committed Oct 26, 2010
1 parent 76e0c36 commit 0e92ae7
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions hudson.rb
@@ -1,5 +1,4 @@
dep 'hudson' do

requires 'gcj-jdk.managed', 'daemon.managed'

met? do
Expand All @@ -13,7 +12,11 @@
shell('wget -O /tmp/hudson.dep http://hudson-ci.org/latest/debian/hudson.deb')
sudo('dpkg --install /tmp/hudson.dep')
end


after do
sudo('/etc/init.d/hudson stop')
sudo('/etc/init.d/hudson start')
end
end

dep 'hudson plugins for rails' do
Expand Down

0 comments on commit 0e92ae7

Please sign in to comment.