Skip to content

Commit

Permalink
Testing skip ci {{SKIP_CI}}
Browse files Browse the repository at this point in the history
  • Loading branch information
mfamilia committed Apr 22, 2012
1 parent 53fe202 commit 1766b3c
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions lib/janky/builder/client.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
require "logger"

module Janky
module Builder
class Client
Expand Down Expand Up @@ -37,11 +35,10 @@ def skip_build(build)
end

if build.commit_message.include? skip_flag
logger = Logger.new(STDOUT)
message = "Going skip on #{build.repo_name}/#{build.branch_name}"
logger.info "Sending skip message to chat service"
puts "Sending skip message to chat service"
::Janky::ChatService.speak(message, build.room_id)
logger.info "Skip Build flag found...skipping build."
puts "Skip Build flag found...skipping build."
return true
end
end
Expand Down

0 comments on commit 1766b3c

Please sign in to comment.