Skip to content

Commit

Permalink
default build.sh logic add for Gradle custom java zippublish plugin (#…
Browse files Browse the repository at this point in the history
…1999)

* Added custom plugin eval logic

Signed-off-by: pgodithi <pgodithi@amazon.com>

* fixed failure checks

Signed-off-by: pgodithi <pgodithi@amazon.com>

* changed to query system property

Signed-off-by: pgodithi <pgodithi@amazon.com>

* Added system property for version check

Signed-off-by: pgodithi <pgodithi@amazon.com>

* Added gradle props

Signed-off-by: pgodithi <pgodithi@amazon.com>

* publish task name change to publishPluginZipPublicationToZipStagingRepository

Signed-off-by: pgodithi <pgodithi@amazon.com>

* Add publishPluginZipPublicationToZipStagingRepository to default build script

Signed-off-by: pgodithi <pgodithi@amazon.com>

* Add publishPluginZipPublicationToZipStagingRepository to default build script

Signed-off-by: pgodithi <pgodithi@amazon.com>
  • Loading branch information
prudhvigodithi authored Jul 15, 2022
1 parent d395d5f commit cc74123
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions scripts/default/opensearch/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -77,3 +77,8 @@ distributions="$(dirname "${zipPath}")"
echo "COPY ${distributions}/*.zip"
mkdir -p $OUTPUT/plugins
cp ${distributions}/*.zip ./$OUTPUT/plugins

# Publish plugin zips to maven
./gradlew publishPluginZipPublicationToZipStagingRepository -Dopensearch.version=$VERSION -Dbuild.snapshot=$SNAPSHOT -Dbuild.version_qualifier=$QUALIFIER
mkdir -p $OUTPUT/maven/org/opensearch
cp -r ./build/local-staging-repo/org/opensearch/. $OUTPUT/maven/org/opensearch

0 comments on commit cc74123

Please sign in to comment.