summaryrefslogtreecommitdiffstats
path: root/gitautodeploy
diff options
context:
space:
mode:
Diffstat (limited to 'gitautodeploy')
-rw-r--r--gitautodeploy/httpserver.py2
-rw-r--r--gitautodeploy/parsers/bitbucket.py2
-rw-r--r--gitautodeploy/parsers/generic.py2
-rw-r--r--gitautodeploy/parsers/github.py2
-rw-r--r--gitautodeploy/parsers/gitlab.py4
5 files changed, 6 insertions, 6 deletions
diff --git a/gitautodeploy/httpserver.py b/gitautodeploy/httpserver.py
index 99fc574..19ac418 100644
--- a/gitautodeploy/httpserver.py
+++ b/gitautodeploy/httpserver.py
@@ -37,7 +37,7 @@ class WebhookRequestHandler(BaseHTTPRequestHandler):
return
# Could be GitHubParser, GitLabParser or other
- repo_configs, ref, action = ServiceRequestParser(self._config).get_repo_params_from_request(request_headers, request_body)
+ repo_configs, ref, action, repo_urls = ServiceRequestParser(self._config).get_repo_params_from_request(request_headers, request_body)
logger.info("Event details - ref: %s; action: %s" % (ref or "master", action))
diff --git a/gitautodeploy/parsers/bitbucket.py b/gitautodeploy/parsers/bitbucket.py
index 791b491..d1dc095 100644
--- a/gitautodeploy/parsers/bitbucket.py
+++ b/gitautodeploy/parsers/bitbucket.py
@@ -34,4 +34,4 @@ class BitBucketRequestParser(WebhookRequestParser):
# Get a list of configured repositories that matches the incoming web hook reqeust
repo_configs = self.get_matching_repo_configs(repo_urls)
- return repo_configs, ref or "master", action \ No newline at end of file
+ return repo_configs, ref or "master", action, repo_urls \ No newline at end of file
diff --git a/gitautodeploy/parsers/generic.py b/gitautodeploy/parsers/generic.py
index 7c7c7f5..6dede03 100644
--- a/gitautodeploy/parsers/generic.py
+++ b/gitautodeploy/parsers/generic.py
@@ -27,4 +27,4 @@ class GenericRequestParser(WebhookRequestParser):
# Get a list of configured repositories that matches the incoming web hook reqeust
repo_configs = self.get_matching_repo_configs(repo_urls)
- return repo_configs, ref or "master", action \ No newline at end of file
+ return repo_configs, ref or "master", action, repo_urls \ No newline at end of file
diff --git a/gitautodeploy/parsers/github.py b/gitautodeploy/parsers/github.py
index 028663d..d95a1de 100644
--- a/gitautodeploy/parsers/github.py
+++ b/gitautodeploy/parsers/github.py
@@ -42,4 +42,4 @@ class GitHubRequestParser(WebhookRequestParser):
# Get a list of configured repositories that matches the incoming web hook reqeust
repo_configs = self.get_matching_repo_configs(repo_urls)
- return repo_configs, ref or "master", action \ No newline at end of file
+ return repo_configs, ref or "master", action, repo_urls \ No newline at end of file
diff --git a/gitautodeploy/parsers/gitlab.py b/gitautodeploy/parsers/gitlab.py
index 580fed2..6c9a8d4 100644
--- a/gitautodeploy/parsers/gitlab.py
+++ b/gitautodeploy/parsers/gitlab.py
@@ -37,7 +37,7 @@ class GitLabRequestParser(WebhookRequestParser):
# Get a list of configured repositories that matches the incoming web hook reqeust
repo_configs = self.get_matching_repo_configs(repo_urls)
- return repo_configs, ref or "master", action
+ return repo_configs, ref or "master", action, repo_urls
class GitLabCIRequestParser(WebhookRequestParser):
@@ -71,4 +71,4 @@ class GitLabCIRequestParser(WebhookRequestParser):
# Get a list of configured repositories that matches the incoming web hook reqeust
repo_configs = self.get_matching_repo_configs(repo_urls)
- return repo_configs, ref or "master", action \ No newline at end of file
+ return repo_configs, ref or "master", action, repo_urls \ No newline at end of file