Sha256: 7f1c2c8853e8f30fcbe62cd97ac3f98f03c2281746bc7eaa4c4e9238054d508d

Contents?: true

Size: 750 Bytes

Versions: 15

Compression:

Stored size: 750 Bytes

Contents

#!/usr/bin/env rake
require "bundler/gem_tasks"

begin
  require 'ci/reporter/rake/rspec'
  require 'ci/reporter/rake/cucumber'
  require 'cucumber'
  require 'cucumber/rake/task'
  require 'rspec/core/rake_task'

  RSpec::Core::RakeTask.new :spec
  Cucumber::Rake::Task.new :features

  task :jenkins => ['ci:setup:rspec', :spec] do
    File.write('build_number', ENV['BUILD_NUMBER']) if ENV['BUILD_NUMBER']
    require 'fileutils'
    FileUtils.rm_rf 'features/reports'
    Cucumber::Rake::Task.new do |t|
      t.cucumber_opts = "--tags ~@real-api --format pretty --format junit --out features/reports"
    end.runner.run
  end

  task default: [:spec, :features]
rescue LoadError
  $stderr.puts $!
  $stderr.puts "This error will be ignored"
end

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
conjur-cli-5.6.6 Rakefile
conjur-cli-5.6.5 Rakefile
conjur-cli-5.6.4 Rakefile
conjur-cli-5.6.3 Rakefile
conjur-cli-5.5.0 Rakefile
conjur-cli-5.4.0 Rakefile
conjur-cli-5.3.0 Rakefile
conjur-cli-5.2.5 Rakefile
conjur-cli-5.2.4 Rakefile
conjur-cli-5.2.3 Rakefile
conjur-cli-5.2.1 Rakefile
conjur-cli-5.2.0 Rakefile
conjur-cli-5.1.2 Rakefile
conjur-cli-5.1.1 Rakefile
conjur-cli-5.1.0 Rakefile