Skip to content

Build fails with Nebula NetflixOSS plugin – postRelease task not found #2144

Description

@X-Cotang

I tried to build Zuul 3.6.11 following the official instructions, but the build fails immediately when applying the Nebula NetflixOSS plugin.

Environment:

  • OS: Debian (Linux)
  • Java: OpenJDK 21.0.10
  • Gradle: 9.2.1 (also tried with the project’s ./gradlew)
  • Source: Zuul 3.6.11 release

Steps to reproduce:

  1. Download and extract Zuul 3.6.11
  2. Run ./gradlew build

Observed output:

└─$ ./gradlew build
Starting a Gradle Daemon, 2 busy Daemons could not be reused, use --status for details

> Configure project :
Git repository not found at /home/x/zuul-3.6.11 -- nebula-release tasks will not be available. Use the git.root Gradle property to specify a different directory.

FAILURE: Build failed with an exception.

* Where:
Build file '/home/x/zuul-3.6.11/build.gradle' line: 10

* What went wrong:
An exception occurred applying plugin request [id: 'com.netflix.nebula.netflixoss', version: '13.0.0']
> Failed to apply plugin class 'nebula.plugin.netflixossproject.publishing.PublishingPlugin'.
   > Task with name 'postRelease' not found in root project 'zuul'.

* Try:
> Run with --stacktrace option to get the stack trace.
> Run with --info or --debug option to get more log output.
> Run with --scan to generate a Build Scan (powered by Develocity).
> Get more help at https://help.gradle.org.

BUILD FAILED in 9s

Expected behavior:
The project should build successfully using the provided Gradle wrapper without requiring manual modification of the build script.

Notes:

  • The error seems to come from the Nebula NetflixOSS plugin (13.0.0) which expects a postRelease task that does not exist in the Zuul root project.
  • Even when building inside a Git repo, the error persists.
  • This makes it impossible to build Zuul 3.6.11 out of the box.

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