Modify

Ticket #443 (closed task: fixed)

Opened 2 years ago

Last modified 2 years ago

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

comment:1 Changed 2 years ago by FaZend <team@…>

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

comment:2 Changed 2 years ago by bschultz

  • Owner changed from mrook to bschultz
  • Status changed from new to assigned
  • Component changed from phing-core to phing-tasks-ext
  • Type changed from enhancement to task

comment:3 Changed 2 years ago by bschultz

  • Status changed from assigned to closed
  • Resolution set to fixed

In [737] Refs #443 - add HttpRequestTask

View

Add a comment

Modify Ticket

Action
as closed
The resolution will be deleted. Next status will be 'reopened'
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.