def get_jinja_variables(pipeline):
    """Gets a dictionary of variables from a SpinnakerPipeline that can be exposed to Jinja templates"""
    variables = dict()
    variables["trigger_job"] = pipeline.trigger_job
    variables["group_name"] = pipeline.group_name
    variables["app_name"] = pipeline.app_name
    variables["repo_name"] = pipeline.repo_name

    return variables