Open zc-devs opened 5 days ago
other
Trying to use steps with the same name, pipeline fails or works wrong.
https://github.com/woodpecker-ci/woodpecker/pull/3411#issuecomment-2194567897:
be aware that steps now can have the same name
skip_clone: true steps: notification: depends_on: - build image: alpine commands: - echo 'Alright' build: image: alpine commands: - echo 'Build' build: image: alpine commands: - echo 'Test' package: image: alpine commands: - echo 'Package'
⬆️ pipeline with one build step works well.
build
server-same-name-map.log agent-same-name-map.log
skip_clone: true steps: - name: notification depends_on: - build image: alpine commands: - echo 'Alright' - name: build image: alpine commands: - echo 'Build' - name: build image: alpine commands: - echo 'Test' - name: package image: alpine commands: - echo 'Package'
server-same-name-array.log agent-same-name-array.log
step names must be unique
Woodpecker `next-75017ac7ca`, Gitea `1.22.3`, Postgres `16`, Kubernetes `v1.30.6+k3s1`
https://github.com/woodpecker-ci/woodpecker/pull/3411#issuecomment-2194567897 https://github.com/woodpecker-ci/woodpecker/pull/3411#discussion_r1844941371
next
mkdir: can't create directory '/woodpecker/src/': Permission denied
The first pipeline on 2.7.1 works as second on next:
2.7.1
The second pipeline on 2.7.1 works the same way as on next.
Component
other
Describe the bug
Trying to use steps with the same name, pipeline fails or works wrong.
https://github.com/woodpecker-ci/woodpecker/pull/3411#issuecomment-2194567897:
Steps to reproduce 1
⬆️ pipeline with one
build
step works well.server-same-name-map.log agent-same-name-map.log
Steps to reproduce 2
build
step was run (second one with echo Test)server-same-name-array.log agent-same-name-array.log
Expected behavior
step names must be unique
build
)System Info
Additional context
https://github.com/woodpecker-ci/woodpecker/pull/3411#issuecomment-2194567897 https://github.com/woodpecker-ci/woodpecker/pull/3411#discussion_r1844941371
Validations
next
version already [https://woodpecker-ci.org/faq#which-version-of-woodpecker-should-i-use]