This repository is private.
All pages are served over SSL and all pushing and pulling is done over SSH.
No one may fork, clone, or view it unless they are added as a member.
Every repository with this icon (
) is private.
Every repository with this icon (
This repository is public.
Anyone may fork, clone, or view it.
Every repository with this icon (
) is public.
Every repository with this icon (
| name | age | message | |
|---|---|---|---|
| |
README | Tue Jun 17 21:23:57 -0700 2008 | [bcurren] |
| |
perforce.rb | Tue Jun 17 21:19:25 -0700 2008 | [bcurren] |
README
Licensed under the MIT license.
* This code has been tested on CruiseControl.rb 1.3.
There are some important notes:
* You need to set up your project manually, you can't do an "add" via CruiseControl.
To install/use it, put 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',
:p4path => '//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.




