Skip to content

runPluginVerifier returns returns with exit code 0 even if it finds some errors #1485

Closed
@tpasternak

Description

@tpasternak

What happened?

runPluginVerifier exited with 0 despite spotting some errors

Relevant log output or stack trace

No response

Steps to reproduce

  1. Create a hello world plugin
  2. Do something that contains error spot by plugin verifier (for example mark it dynamic, but implement a non-dynamic extension point)
  3. Execute ./gradlew :runPluginVerifier

Result:
The error message is print correctly, but the exit code is 0, so it's impossible to use runPluginVerifier to implement a CI guard for some features.

Gradle IntelliJ Plugin version

1.16.0

Gradle version

unrelated

Operating System

None

Link to build, i.e. failing GitHub Action job

No response

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