diff --git a/scripts/build.sh b/scripts/build.sh index 892e8d56..3f159869 100755 --- a/scripts/build.sh +++ b/scripts/build.sh @@ -76,4 +76,6 @@ cp ./build/distributions/*.zip $OUTPUT/plugins ./gradlew publishAllPublicationsToStagingRepository -Dopensearch.version=$VERSION -Dbuild.snapshot=$SNAPSHOT -Dbuild.version_qualifier=$QUALIFIER ./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 \ No newline at end of file +cp -r ./build/local-staging-repo/org/opensearch/. $OUTPUT/maven/org/opensearch +# Needed the below for https://github.com/opensearch-project/skills/issues/178. TODO: https://github.com/opensearch-project/job-scheduler/issues/583 +cp -r ./build/local-staging-repo/org/opensearch/plugin/opensearch-job-scheduler ~/.m2/repository/org/opensearch/plugin/ \ No newline at end of file