Ensure pkg_name is defined.

pull/1/head
Simon Quigley 6 years ago
parent e6afdab9e1
commit 96c73754db

@ -178,6 +178,7 @@ def jenkinstrigger():
return 'Ok' return 'Ok'
object_type = lugito.request_data["object"]["type"] object_type = lugito.request_data["object"]["type"]
pkg_name = lugito.get_object_string("name")
if object_type == "CMIT": if object_type == "CMIT":
logger.debug("Object is a commit.") logger.debug("Object is a commit.")

Loading…
Cancel
Save