Modify ↓
Ticket #443 (closed task: fixed)
HttpRequestTask is very desirable
| Reported by: | FaZend <team@…> | Owned by: | bschultz |
|---|---|---|---|
| Priority: | major | Milestone: | 2.4.1 |
| Component: | phing-tasks-ext | Version: | 2.4.0 |
| Keywords: | Cc: |
Description
When a building cycle is finished it is very useful to make a HTTP request to the production server and get the status report of what's going on there. Whether the product deployed properly? Whether we have some problems after the deployment?
I would suggest to create a new task - HttpRequestTask. It should work like this:
<http-request url="http://my-production.example.com/check-deployment.php" response-regex="/OK/" />
The task will make a HTTP request to the URL provided, and will try to match the response received against the REGEX provided. If they match - everything is OK. If they don't - the build is failed.
Attachments
Change History
Note: See
TracTickets for help on using
tickets.

and again, detailed logging would be very helpful… maybe verbose param should also be present here.