Skip to content

CI_PIPELINE_NUMBER is set as 0  #2672

@praveen-livspace

Description

@praveen-livspace

Component

server, agent

Describe the bug

Whenever the pipelines are triggered using github PR or push events, the step pods have CI_PIPELINE_NUMBER set as "0".

However on restarting the build, the env variable is correctly set.

System Info

{"source":"https://github.com/woodpecker-ci/woodpecker","version":"next-5b3bba726d"}

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

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions