Adding script to synch up sdk repo
This commit is contained in:
1 parent
9dda440a48
commit
deef8136df
1 file changed
+18
Executable
+18
@@ -0,0 +1,18 @@
|
||||
#!/bin/bash
|
||||
if [ ! -f spark_sdk.tgz ]; then
|
||||
wget http://jenkins/job/Spark_Server/lastSuccessfulBuild/artifact/spark_sdk_1909.tgz -O spark_sdk.tgz
|
||||
fi
|
||||
|
||||
if [ ! -d spark_sdk ]; then
|
||||
git clone git@bitbucket.org:bluetradesys/spark_sdk.git
|
||||
else
|
||||
(cd spark_sdk && git pull)
|
||||
fi
|
||||
|
||||
rm -rf new_sdk
|
||||
mkdir new_sdk
|
||||
(cd new_sdk && tar -xvzf ../spark_sdk.tgz)
|
||||
cp -R new_sdk/* spark_sdk
|
||||
|
||||
# http://jenkins/job/Spark_Server/lastSuccessfulBuild/artifact/spark_server_1909.tgz
|
||||
# http://jenkins/job/Spark_Server/lastSuccessfulBuild/artifact/spark_sdk_1909.tgz
|
||||
Reference in new issue
Block a user