Skip to content

Commit

Permalink
Placeholder for github post-hook idea for jenkins
Browse files Browse the repository at this point in the history
  • Loading branch information
drnic committed Apr 9, 2012
1 parent 1e71698 commit 9c3dd77
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions scrolls/jenkins.rb
Expand Up @@ -3,6 +3,10 @@
after_everything do after_everything do
public_repo = !config["github_private"] public_repo = !config["github_private"]
run "jenkins create . --scm #{@git_uri}#{' --public-scm' unless public_repo} --template rails3" run "jenkins create . --scm #{@git_uri}#{' --public-scm' unless public_repo} --template rails3"

if scrolls?("github")
# TODO add github post-commit hook to jenkins build
end
end end


__END__ __END__
Expand Down

0 comments on commit 9c3dd77

Please sign in to comment.