|
Revision 5222, 0.9 kB
(checked in by david, 2 years ago)
|
Added Campfire notification support [DHH]
|
| Line | |
|---|
| 1 |
Continuous Builder |
|---|
| 2 |
================= |
|---|
| 3 |
|
|---|
| 4 |
Continuous integration made trivial. |
|---|
| 5 |
|
|---|
| 6 |
Subversion post-commit hook for email: |
|---|
| 7 |
|
|---|
| 8 |
DEVELOPERS=david@loudthinking.com |
|---|
| 9 |
BUILDER="'Continuous Builder' <cb@37signals.com>" |
|---|
| 10 |
|
|---|
| 11 |
cd /u/apps/your/app && /usr/local/bin/rake -t test_latest_revision NAME=YourApp RECIPIENTS="$DEVELOPERS" SENDER="$BUILDER" & |
|---|
| 12 |
cd /u/apps/another/app && /usr/local/bin/rake -t test_latest_revision NAME=AnotherApp RECIPIENTS="$DEVELOPERS" SENDER="$BUILDER" & |
|---|
| 13 |
|
|---|
| 14 |
|
|---|
| 15 |
Subversion post-commit hook for Campfire: |
|---|
| 16 |
|
|---|
| 17 |
CAMPFIRE_URL = 'https://username:password@domain.campfirenow.com/rooms/1234' |
|---|
| 18 |
CHANGESET_URL = 'https://dev.example.com/trac/changeset/' |
|---|
| 19 |
|
|---|
| 20 |
cd /u/apps/your/app && /usr/local/bin/rake -t test_latest_revision NAME=YourApp CAMPFIRE_URL="$CAMPFIRE_URL" CHANGESET_URL="$CHANGESET_URL" & |
|---|
| 21 |
cd /u/apps/another/app && /usr/local/bin/rake -t test_latest_revision NAME=AnotherApp CAMPFIRE_URL="$CAMPFIRE_URL" CHANGESET_URL="$CHANGESET_URL" & |
|---|