Bug #4791

Add rake task that runs the text with Hudson compatible output

Added by Matt Robinson over 1 year ago. Updated over 1 year ago.

Status:Closed Start date:09/16/2010
Priority:Normal Due date:
Assignee:Igal Koshevoy % Done:

0%

Category:-
Target version:1.0.4
Keywords:continuous integration testing tests Affected URL:
Branch:http://github.com/mmrobins/puppet-dashboard/tree/feature-4791-continuous-integration-test-output Affected Dashboard version:
Votes: 0

Description

I’ve got a branch that does this by adding a ci_prep test that requires the ci_reporter gem. This is how puppet does it so that the gem isn’t required for anyone who wants to run any rake tasks. Puppet also has a ci_spec task that I didn’t include since it turns out it doesn’t work with Hudson. To run the specs in a way that works with Hudson you run

rake ci_prep ci:setup:rspec spec

History

Updated by Matt Robinson over 1 year ago

  • Status changed from Unreviewed to In Topic Branch Pending Review
  • Assignee set to Igal Koshevoy
  • Branch set to http://github.com/mmrobins/puppet-dashboard/tree/feature-4791-continuous-integration-test-output

I attached the branch that has the proposed rake task. I also added the results directory (generated when running ci_reporter) to the .gitignore.

Updated by Igal Koshevoy over 1 year ago

  • Status changed from In Topic Branch Pending Review to Closed
  • Target version set to 1.0.4

Matt: Thanks for the rake task and for working on the continuous integration system. I’ve merged your patch into next and am able to run the following command successfully, which populates the results directory with CI data:

rake ci_prep ci:setup:rspec spec

Also available in: Atom PDF