Giter Site home page Giter Site logo

integrity-artifacts's Introduction

Integrity Artifacts

You can use integrity-artifacts to copy build artifacts from your integrity builds

Installation

  1. sudo gem install subakva-integrity-artifacts --source=http://gems.github.com
  2. Add require 'integrity/notifier/artifacts' to config.ru
  3. Enable the notifier on the project page
  4. [Optional] Set "Artifact Root" to the file-system path where the artifacts should be saved
  5. [Optional] Set "Config YAML" to the location of your artifacts config file relative to your repository root
  6. Click "Update Project"

Example config.ru

#!/usr/bin/env ruby

require "rubygems"
require "integrity"

require 'integrity/notifier/artifacts'

# Load configuration and initialize Integrity
Integrity.new(File.dirname(__FILE__) + "/config.yml")

# You probably don't want to edit anything below
Integrity::App.set :environment, ENV["RACK_ENV"] || :production
Integrity::App.set :port,        8910

run Integrity::App

Example artifacts.yml

---
  rcov: 
    output_dir: coverage
  metric_fu: 
    output_dir: tmp/metric_fu

Example integrity.rake

namespace :integrity do
  desc "Execute the integrity build..."
  task :build do
    puts "Executing the integrity build......"

    Rake::Task['rcov'].invoke

    require 'metric_fu'
    MetricFu::Configuration.run do |fu|
      fu.metrics -= [:rcov] # running rcov seperately
      fu.metrics -= [:saikuro] # saikuro isn't working for this project...
    end
    Rake::Task['metrics:all'].invoke

    puts "Done."
  end
end

Copyright

Copyright (c) 2009 Jason Wadsworth. See LICENSE for details.

integrity-artifacts's People

Contributors

subakva avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

joshfrench erkki

integrity-artifacts's Issues

Generate Indexes Does Not Remain Set

I checked Generate Indexes for my build, but when I checked the settings page again it was not set. Also, the build did not generate the html indexes.

Config Section Naming is Awkward

Integrity adds "Notifications" to the end of the class name "Artifacts" resulting in an awkward name "Artifacts Notifications". It should be possible to alias Artifacts and Artifact while maintaining backwards compatibility.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.