aa

原创
2019/03/10 16:42
阅读数 40
环境初始化脚本:

rm -rf project_*/
user_name="service"
branch="master"
projects_name=("ss" "us" "sug" "ac" "da" "sre" "attr" "bs")
for project in ${projects_name[@]}
do
{
echo "init ... "$project
mkdir /home/$user_name/project/"project_"$project
mkdir /home/$user_name/project/"project_"$project/search-nut
cd /home/$user_name/project/project_$project/search-nut/
git clone git@gitlab.os.adc.com:search-nut/$project".git"
cd /home/$user_name/project/project_$project/search-nut/$project
git checkout $branch
cd /home/$user_name/project/project_$project/search-nut/$project/make
./local_build.sh prepare
./local_build.sh force_build
}&
done

展开阅读全文
打赏
0
0 收藏
分享
加载中
更多评论
打赏
0 评论
0 收藏
0
分享
返回顶部
顶部