Sha256: 5a50318f78c1e4c7a78dc717232b9535ddd494af98a17b8d97201228c7a3bab8

Contents?: true

Size: 222 Bytes

Versions: 10

Compression:

Stored size: 222 Bytes

Contents

require 'socket'

Before do
  @jenkins_cleanup = []
end

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

Version data entries

10 entries across 10 versions & 3 rubygems

Version Path
jenkins-maestrodev-0.6.9 features/support/hooks.rb
jenkins-0.6.8 features/support/hooks.rb
jenkins-0.6.6 features/support/hooks.rb
jenkins-0.6.5 features/support/hooks.rb
akqa-jenkins-0.6.4.1 features/support/hooks.rb
jenkins-0.6.4 features/support/hooks.rb
jenkins-0.6.3 features/support/hooks.rb
jenkins-0.6.2 features/support/hooks.rb
jenkins-0.6.1 features/support/hooks.rb
jenkins-0.6.0 features/support/hooks.rb