mirror of
https://github.com/lubuntu-team/lugito.git
synced 2025-05-04 06:11:29 +00:00
Correctly pass the all-lowercase repo name.
This commit is contained in:
parent
6b70f393f8
commit
913f68fcd8
@ -76,7 +76,7 @@ class jenkins(object):
|
|||||||
|
|
||||||
# Get the package name we'll be triggering; this assumes the repo
|
# Get the package name we'll be triggering; this assumes the repo
|
||||||
# name always matches the package name
|
# 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:
|
if package_name:
|
||||||
package_url = self.jenkins_trigger_url.replace(
|
package_url = self.jenkins_trigger_url.replace(
|
||||||
|
@ -183,7 +183,7 @@ def jenkinstrigger():
|
|||||||
if object_type == "CMIT":
|
if object_type == "CMIT":
|
||||||
logger.debug("Object is a commit.")
|
logger.debug("Object is a commit.")
|
||||||
|
|
||||||
jenkins_con.send(pkg_name)
|
jenkins_con.send(package_name=pkg_name)
|
||||||
|
|
||||||
|
|
||||||
return 'Ok'
|
return 'Ok'
|
||||||
|
Loading…
x
Reference in New Issue
Block a user