lib/status/jenkins.rb in update_status-0.2.0 vs lib/status/jenkins.rb in update_status-0.2.1
- old
+ new
@@ -1,10 +1,10 @@
# coding: utf-8
module Status
class Jenkins
def initialize(branch)
- @branch = branch
+ @branch = branch.gsub(/\//, "_")
end
def state
return "success" if pass?
@status