mirror of
https://github.com/wassname/ray.git
synced 2026-08-01 12:51:09 +08:00
[dist] Mvn deploy (#9777)
This commit is contained in:
@@ -68,10 +68,12 @@ build_jars_darwin() {
|
||||
}
|
||||
|
||||
build_jars_multiplatform() {
|
||||
if [[ "${TRAVIS_REPO_SLUG-}" != "ray-project/ray" || "${TRAVIS_PULL_REQUEST-}" != "false" ]]; then
|
||||
echo "Skip build multiplatform jars when this build is from a pull request or
|
||||
not a build for commit in ray-project/ray."
|
||||
return
|
||||
if [ "${TRAVIS-}" = true ]; then
|
||||
if [[ "${TRAVIS_REPO_SLUG-}" != "ray-project/ray" || "${TRAVIS_PULL_REQUEST-}" != "false" ]]; then
|
||||
echo "Skip build multiplatform jars when this build is from a pull request or
|
||||
not a build for commit in ray-project/ray."
|
||||
return
|
||||
fi
|
||||
fi
|
||||
download_jars "ray-runtime-$version.jar" "streaming-runtime-$version.jar"
|
||||
prepare_native
|
||||
@@ -140,10 +142,10 @@ deploy_jars() {
|
||||
fi
|
||||
fi
|
||||
echo "Start deploying jars"
|
||||
cd "$WORKSPACE_DIR"/java
|
||||
mvn -T16 deploy -Dmaven.test.skip=true -Dcheckstyle.skip
|
||||
cd "$WORKSPACE_DIR"/streaming/java
|
||||
mvn -T16 deploy -Dmaven.test.skip=true -Dcheckstyle.skip
|
||||
cd "$WORKSPACE_DIR/java"
|
||||
mvn -T16 deploy -Dmaven.test.skip=true -Dcheckstyle.skip -Prelease
|
||||
cd "$WORKSPACE_DIR/streaming/java"
|
||||
mvn -T16 deploy -Dmaven.test.skip=true -Dcheckstyle.skip -Prelease
|
||||
echo "Finished deploying jars"
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user