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

There is no line breaks in the Step logs #3790

Closed
3 tasks done
zc-devs opened this issue Jun 14, 2024 · 0 comments · Fixed by #3808
Closed
3 tasks done

There is no line breaks in the Step logs #3790

zc-devs opened this issue Jun 14, 2024 · 0 comments · Fixed by #3808
Labels
bug Something isn't working ui frontend related

Comments

@zc-devs
Copy link
Contributor

zc-devs commented Jun 14, 2024

Component

server, web-ui

Describe the bug

Downloaded or copy-pasted logs do not have line breaks, appear as one line.

Steps to reproduce

  1. Install Woodpecker 2.6.0.
  2. Run pipeline
skip_clone: true
steps:
  server:
    image: alpine
    commands:
      - echo Hello
      - echo world
  1. See logs in UI
    Screenshot 2024-06-14 200009
  2. Download logs
    usr-wp-test-324-server.log
  3. Copy logs from UI and paste in some text editor
  4. Check, that downloaded logs and copy-pasted one are one-line text
+ echo HelloHello+ echo worldworld

Expected behavior

  1. Install Woodpecker 2.5.0.
  2. Run pipeline
skip_clone: true
steps:
  server:
    image: alpine
    commands:
      - echo Hello
      - echo world
  1. See logs in UI
    Screenshot 2024-06-14 195449
  2. Download logs
    usr-wp-test-323-server.log
  3. Copy logs from UI and paste in some text editor
  4. Check, that downloaded logs and copy-pasted one are multiple lines
+ echo Hello
Hello
+ echo world
world

System Info

Woodpecker 2.6.0, Kubernetes.

Additional context

No response

Validations

  • Read the docs.
  • Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
  • Checked that the bug isn't fixed in the next version already [https://woodpecker-ci.org/faq#which-version-of-woodpecker-should-i-use]
@zc-devs zc-devs added the bug Something isn't working label Jun 14, 2024
@qwerty287 qwerty287 added the ui frontend related label Jun 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working ui frontend related
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants