forked from lix-project/hydra
Merge pull request #340 from expipiplus1/github-push-ssh
Trigger ssh like urls from github pushes
This commit is contained in:
commit
d317e2d49a
|
@ -254,7 +254,7 @@ sub push_github : Chained('api') PathPart('push-github') Args(0) {
|
|||
triggerJobset($self, $c, $_) foreach $c->model('DB::Jobsets')->search(
|
||||
{ 'project.enabled' => 1, 'me.enabled' => 1 },
|
||||
{ join => 'project'
|
||||
, where => \ [ 'exists (select 1 from JobsetInputAlts where project = me.project and jobset = me.name and value like ?)', [ 'value', "%github.com%/$owner/$repo.git%" ] ]
|
||||
, where => \ [ 'exists (select 1 from JobsetInputAlts where project = me.project and jobset = me.name and value like ?)', [ 'value', "%github.com%$owner/$repo.git%" ] ]
|
||||
});
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue