Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding permalink to deploy csv_export #3914

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions app/models/deploy.rb
Original file line number Diff line number Diff line change
Expand Up @@ -213,15 +213,15 @@ def url

def self.csv_header
[
"Deploy Number", "Project Name", "Deploy Summary", "Deploy Commit", "Deploy Status", "Deploy Updated",
"Deploy Number", "Project Name", "Permalink", "Deploy Summary", "Deploy Commit", "Deploy Status", "Deploy Updated",
"Deploy Created", "Deployer Name", "Deployer Email", "Buddy Name", "Buddy Email", "Stage Name",
"Production Flag", "Code deployed", "Project Deleted On", "Deploy Groups"
]
end

def csv_line
[
id, project.name, summary, commit, job.status, updated_at, start_time, user&.name, user&.email,
id, project.name, summary, project_permalink, commit, job.status, updated_at, start_time, user&.name, user&.email,
buddy_name, buddy_email, stage.name, production, !stage.no_code_deployed, project.deleted_at,
stage.deploy_group_names.join('|')
]
Expand Down