refactor(cli): 优化脚本
This commit is contained in:
@@ -1,9 +1,9 @@
|
||||
#!/bin/bash
|
||||
|
||||
root_path=/apps/zone_scfp/hudi/cloud
|
||||
jars_path=/data/datalake/jars
|
||||
jdk_path=/opt/jdk8u252-b09/bin/java
|
||||
|
||||
arguments=$@
|
||||
curl ftp://yyy:QeY\!68\)4nH1@132.121.122.15:2222/service-cli-runner-1.0.0-SNAPSHOT.jar -o ${root_path}/service-cli-runner.jar
|
||||
${jdk_path} -jar ${root_path}/service-cli-runner.jar --spring.profiles.active=b9 $arguments
|
||||
chmod +x *.sh
|
||||
curl ftp://yyy:QeY\!68\)4nH1@132.121.122.15:2222/service-cli-runner-1.0.0-SNAPSHOT.jar -o ${jars_path}/service-cli-runner.jar
|
||||
${jdk_path} -jar ${jars_path}/service-cli-runner.jar --spring.profiles.active=b12 $arguments
|
||||
chmod +x cloud/*.sh
|
||||
|
||||
Reference in New Issue
Block a user