Skip to content

CI_WORKSPACE set wrong in local backends #2610

@pingseran

Description

@pingseran

Component

agent

Describe the bug

pipeline file like this

---
labels:
  platform: linux/amd64
  backend: local

steps:
  hello:
    image: bash
    commands:
      - uname -a
      - pwd
      - echo $${CI_WORKSPACE}
      - ls -AFlh
      - echo "hello world 你好"
      - touch hello.txt
      - echo $${PATH}

  测试:
    image: bash
    commands:
      - uname -a
      - pwd
      - ls -AFlh
      - echo "hello world 你好 测试"

CI_WORKSPACE set wrong in local backends

image

System Info

{"source":"https://github.com/woodpecker-ci/woodpecker","version":"1.0.3"}

Additional context

No response

Validations

  • Read the Contributing Guidelines.
  • 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]
  • Check that this is a concrete bug. For Q&A join our Discord Chat Server or the Matrix room.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions