Sha256: 560947bba9da478b7cc2e75d468aa48ec66cf8c400f89c019a44b4429652be89

Contents?: true

Size: 220 Bytes

Versions: 26

Compression:

Stored size: 220 Bytes

Contents

require 'socket'

Before do
  @hudson_cleanup = []
end

After do
  for port in @hudson_cleanup do
    begin
      TCPSocket.open("localhost", port) do |sock|
        sock.write("0")
      end
    rescue
    end
  end
end

Version data entries

26 entries across 26 versions & 1 rubygems

Version Path
hudson-0.5.0 features/support/hooks.rb
hudson-0.3.1 features/support/hooks.rb
hudson-0.3.0 features/support/hooks.rb
hudson-0.3.0.beta.19 features/support/hooks.rb
hudson-0.3.0.beta.18 features/support/hooks.rb
hudson-0.3.0.beta.17 features/support/hooks.rb
hudson-0.3.0.beta.16 features/support/hooks.rb
hudson-0.3.0.beta.15 features/support/hooks.rb
hudson-0.3.0.beta.14 features/support/hooks.rb
hudson-0.3.0.beta.13 features/support/hooks.rb
hudson-0.3.0.beta.12 features/support/hooks.rb
hudson-0.3.0.beta.11 features/support/hooks.rb
hudson-0.3.0.beta.10 features/support/hooks.rb
hudson-0.3.0.beta.9 features/support/hooks.rb
hudson-0.3.0.beta.8 features/support/hooks.rb
hudson-0.3.0.beta.7 features/support/hooks.rb
hudson-0.3.0.beta.6 features/support/hooks.rb
hudson-0.3.0.beta.5 features/support/hooks.rb
hudson-0.3.0.beta.4 features/support/hooks.rb
hudson-0.3.0.beta.3 features/support/hooks.rb