Commit 675750b9 authored by Jose Ivan Vargas's avatar Jose Ivan Vargas

Merge branch 'fix/ci-lint-newlines' into 'master'

Render script newlines in CI Lint view

See merge request gitlab-org/gitlab!45087
parents 794d41ad 0d761c41
......@@ -17,9 +17,9 @@
%tr
%td #{job[:stage].capitalize} Job - #{job[:name]}
%td
%pre= job[:before_script].to_a.join('\n')
%pre= job[:script].to_a.join('\n')
%pre= job[:after_script].to_a.join('\n')
%pre= job[:before_script].to_a.join('<br />')
%pre= job[:script].to_a.join('<br />')
%pre= job[:after_script].to_a.join('<br />')
%br
%b= _("Tag list:")
= job[:tag_list].to_a.join(", ")
......
---
title: 'Render script newlines in CI Lint view'
merge_request: 45087
author: Nejc Habjan
type: fixed
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment