Class: Fett::Builder
- Inherits:
-
Object
- Object
- Fett::Builder
- Defined in:
- lib/fett/builder.rb
Class Method Summary collapse
Class Method Details
permalink .build(fullname, last_pusher, last_message, last_commit_url, last_branch, params) ⇒ Object
[View source]
3 4 5 6 7 8 9 10 11 12 13 14 |
# File 'lib/fett/builder.rb', line 3 def self.build(fullname, last_pusher, , last_commit_url, last_branch, params) repository = Repositories.repository_of_fullname(fullname) repository.last_pusher = last_pusher repository. = repository.last_commit_url = last_commit_url repository.last_branch = last_branch.split("/").last Jenkins.new_build(repository, params) Repositories.put(repository) end |