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

Failure to create pipeline using API (plugin-trigger) if definition has lint warnings #2921

Closed
5 tasks done
lafriks opened this issue Dec 7, 2023 · 1 comment · Fixed by #2939
Closed
5 tasks done
Labels
bug Something isn't working server

Comments

@lafriks
Copy link
Contributor

lafriks commented Dec 7, 2023

Component

server

Describe the bug

When using plugin-trigger to trigger builds for other pipeline they will fail with error:

2023-12-07T10:59:20Z ERR failure to createPipelineItems for ***/*** | error=[linter] Invalid type. Expected: object, given: array; [linter] Invalid type. Expected: object, given: array
2023-12-07T10:59:20Z ERR error=Error #01: failure to createPipelineItems for ***/***
 ip=10.255.0.2 latency=34.869784 method=POST path=/api/repos/1243/pipelines/1221 status=500 user-agent=Go-http-client/1.1

Pipeline itself will be created but won't be and can not be started because of this as it does not contain any steps or definition

System Info

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

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.
@lafriks lafriks added bug Something isn't working server labels Dec 7, 2023
@qwerty287
Copy link
Contributor

Same underlying issue as #2753 I think

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working server
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants