Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-55537

Firefox - Newlines not displayed in Blue Ocean shell step textarea

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Minor Minor
    • blueocean-plugin
    • None
    • Jenkins 2.150.1
      BlueOcean 1.10.1
      Firefox 64.0

      When using Firefox, newlines in shell steps are ignored and everything is displayed on a single line.

      This seems to be due to the following CSS property:

      .pipeline-editor .editor-step-detail-script {
          white-space: nowrap;
      }
      

      Changing this value to 'pre' via inspect element makes shell steps display properly with multiple lines, and is what I have been using as a workaround.

            Unassigned Unassigned
            jshorthouse James Shorthouse
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: