<%= erb :header %> <% unless @error_data.nil? %>
<% end %>

<%= @proj_name %>

<%= @proj_descr %>
git репозиторий <%= @git_name %>

Шаблон скрипта:

#!/bin/bash
RESULT="$1"
if [ -z "$RESULT" ]; then
	exit 1
fi
build command
cp -r [dir_with_results]/*.* "${RESULT}/"
                            

<% unless @old_filepath.nil? %> <% end %>
<%= erb :footer %>