Sha256: 0e0085227fcdab8b7995079b2073bd5bc18b53f1b2f7ab019dc841f6d55cd093

Contents?: true

Size: 525 Bytes

Versions: 10

Compression:

Stored size: 525 Bytes

Contents

$:.unshift(File.expand_path(File.dirname(__FILE__) + "/../../lib"))
require 'jenkins.rb'
require 'bundler/setup'
require 'ap'

Before do
  @tmp_root = File.dirname(__FILE__) + "/../../tmp"
  @home_path = File.expand_path(File.join(@tmp_root, "home"))
  @lib_path  = File.expand_path(File.dirname(__FILE__) + "/../../lib")
  FileUtils.rm_rf   @tmp_root
  FileUtils.mkdir_p @home_path
  ENV['HOME'] = @home_path
  ENV['CUCUMBER_RUNNING'] = 'oooh yes'
end

After do
  ENV.delete('JENKINS_HOST')
  ENV.delete('JENKINS_PORT')
end

Version data entries

10 entries across 10 versions & 3 rubygems

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