Unable to find data-prepper-*.tar.gz distribution after building Data Prepper

Versions (relevant - OpenSearch/Dashboard/Server OS/Browser):

Data Prepper: 2.13.0-SNAPSHOT(building from source)
OS: Red Hat Linux
Build tool: Gradle

Describe the issue:
I am trying to build Data Prepper from source and generate the .tar.gz distribution
I ran: ./gradlew assembleDist
This creates .zip and .tar files for some modules, but I cannot find the expected .tar.gz package.
when i check distributions/, the directory doesn’t exist
My requirement is to generate the full distribution archive (.tar.gz) for Data Prepper

Configuration:
Java 17
Gradle wrapper included in repo
Running on Red Hat Linux

@FarheenKouser can you try to run the following command, if you get any errors please post them here.

./gradlew :release:archives:linux:clean :release:archives:linux:assemble -x test -x integrationTest

If there are no error you should see the .tar.gz snapshot files in release/archives/linux/build/distributions/

Thank you soo much Anthony, it worked.

1 Like

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.