Merge "Fix task keys properties in DSL parser"

This commit is contained in:
Jenkins 2014-01-28 13:49:18 +00:00 committed by Gerrit Code Review
commit aae48e19ec

View File

@ -71,10 +71,10 @@ class Parser(object):
return task_dsl.get(property_name) return task_dsl.get(property_name)
def get_task_on_error(self, task_name): def get_task_on_error(self, task_name):
return self.get_task_dsl_property(task_name, "OnError") return self.get_task_dsl_property(task_name, "on-error")
def get_task_on_success(self, task_name): def get_task_on_success(self, task_name):
return self.get_task_dsl_property(task_name, "OnSuccess") return self.get_task_dsl_property(task_name, "on-success")
def get_task_input(self, task_name): def get_task_input(self, task_name):
return self.get_task_dsl_property(task_name, "input") return self.get_task_dsl_property(task_name, "input")