github
Advanced Search
  • Home
  • Pricing and Signup
  • Explore GitHub
  • Blog
  • Login

chris / cruisecontrolrb_perforce

  • Admin
  • Watch Unwatch
  • Fork
  • Your Fork
  • Pull Request
  • Download Source
    • 2
    • 1
  • Source
  • Commits
  • Network (1)
  • Issues (0)
  • Downloads (0)
  • Wiki (1)
  • Graphs
  • Branch: master

click here to add a description

click here to add a homepage

  • Branches (1)
    • master ✓
  • Tags (0)
Sending Request…
Enable Donations

Pledgie Donations

Once activated, we'll place the following badge in your repository's detail box:
Pledgie_example
This service is courtesy of Pledgie.

Perforce support for CruiseControl.rb — Read more

  cancel

http://cobaltedge.com/2008/06/perforce-support-for-cruise-co.html

  cancel
  • Private
  • Read-Only
  • HTTP Read-Only

This URL has Read+Write access

 
chris (author)
Wed Dec 17 23:43:55 -0800 2008
commit  b7e4ff2b9d44cad50c84e77486bb50f79c7c1dbd
tree    defb7fbb5113b6aeeb6119de6a97d4ff80331e3e
parent  91a792c243031352612e311d07d9253fe4e8e5d3
cruisecontrolrb_perforce /
name age
history
message
file README Wed Dec 17 23:43:55 -0800 2008 [chris]
file perforce.rb Fri Jun 06 20:55:20 -0700 2008 Initial add/creation of cruisecontrolrb Perforc... [chris]
README
NOTE: I no longer maintain this.  My understanding is that for the latest and 
greatest Perforce integration for Cruise Control, you should check out Ben 
Curren's version here:
http://github.com/bcurren/cruisecontrolrb_perforce/tree/master

While I haven't had a chance to clean up the code, folks have asked for it, 
so I'm making my Perforce implementation for CruiseControl available. 
There are some important notes:

* You need to set up your project manually, you can't do an "add" via CruiseControl.
* Some work needs to be done on the text retrieval for checkin messages, and how 
that's displayed on the CC.rb results pages.
* I haven't used this since August 2007, so cannot vouch for whether it works with
current versions of Cruisecontrol.rb.

Licensed under the MIT license.  I have not yet submitted it to the CC.rb folks, 
as I hadn't had time to clean it up yet. So, if you dial it in better, please do 
submit it to them, or send me a pull request, and I'll submit it, etc.

To install/use it, ut the perforce.rb file into your cruisecontrol/app/models directory.

Manually setup your project:
* Create a directory under the cruisecontrol/projects directory.
* Place a cruise_config.rb file in it. It should contain something like the following 
in order to use Perforce:
 
  Project.configure do |project|
    # Use Perforce for source control
    project.source_control = Perforce.new(
      :port => 'your.perforce.server:1666',
      :clientspec => 'clientspec-for-cruisecontrol',
      :user => 'buildusername',
      :password => 'builduserpassword',
      :path => '//depot/path/to/your/rails/app/...')
  end
  
* Sync your code once.
* Fire up CruiseControl, and let the games begin.

Usual disclaimer: I take no responsibility for your systems, code, etc. Read the code, 
test it out, backup your systems, etc.
Blog | Support | Training | Contact | API | Status | Twitter | Help | Security
© 2010 GitHub Inc. All rights reserved. | Terms of Service | Privacy Policy
Powered by the Dedicated Servers and
Cloud Computing of Rackspace Hosting®
Dedicated Server