Added the type of scm in the queue payload.
This commit is contained in:
parent
430c9cb00e
commit
06022bf378
@ -295,12 +295,14 @@ class IDF_Commit extends Pluf_Model
|
||||
// plugins may want to do something with this information in
|
||||
// an asynchronous way.
|
||||
$project = $this->get_project();
|
||||
$scm = $project->getConf()->getVal('scm', 'git');
|
||||
$url = str_replace(array('%p', '%r'),
|
||||
array($project->shortname, $this->scm_id),
|
||||
$conf->getVal('webhook_url', ''));
|
||||
$payload = array('to_send' => array(
|
||||
'project' => $project->shortname,
|
||||
'rev' => $this->scm_id,
|
||||
'scm' => $scm,
|
||||
'summary' => $this->summary,
|
||||
'fullmessage' => $this->fullmessage,
|
||||
'author' => $this->origauthor,
|
||||
|
Loading…
Reference in New Issue
Block a user