Add a meta job to trigger docker-publish and deploy jobs on omec PR merge
Change-Id: I758cd07e7bfa3b1c9cba90723b3ba4ff7319bc57
diff --git a/jjb/cord-macros.yaml b/jjb/cord-macros.yaml
index cc12b36..e16096f 100644
--- a/jjb/cord-macros.yaml
+++ b/jjb/cord-macros.yaml
@@ -152,11 +152,17 @@
key: merged
value: $.pull_request.merged
- type: JSONPath
+ key: repoUrl
+ value: $.pull_request.base.repo.html_url
+ - type: JSONPath
+ key: repoName
+ value: $.pull_request.base.repo.name
+ - type: JSONPath
key: branchName
value: $.pull_request.base.ref
- type: JSONPath
- key: gitRef
- value: $.pull_request.base.ref
+ key: commitHash
+ value: $.pull_request.merge_commit_sha
regex-filter-text: $action,$merged
regex-filter-expression: ^(closed,true)$
cause: Generic Cause