Correctly pass the all-lowercase repo name.

pull/1/head
Simon Quigley 6 years ago
parent 6b70f393f8
commit 913f68fcd8

@ -76,7 +76,7 @@ class jenkins(object):
# Get the package name we'll be triggering; this assumes the repo
# name always matches the package name
package_name = self.get_package_name(package_name)
package_name = self.get_package_name(package_name.lower())
if package_name:
package_url = self.jenkins_trigger_url.replace(

@ -183,7 +183,7 @@ def jenkinstrigger():
if object_type == "CMIT":
logger.debug("Object is a commit.")
jenkins_con.send(pkg_name)
jenkins_con.send(package_name=pkg_name)
return 'Ok'

Loading…
Cancel
Save