1 Star 0 Fork 18

lxueweixi/xuxiaowei-cloud-next

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
bos.sh 1.02 KB
一键复制 编辑 原始数据 按行查看 历史
徐晓伟 提交于 2022-07-04 21:46 . :construction_worker:新增发布服务
mkdir .go-bcecli -p
echo "[Defaults]" > .go-bcecli/config
echo "Domain = $b_domain" >> .go-bcecli/config
echo "Region = " >> .go-bcecli/config
echo "AutoSwitchDomain =" >> .go-bcecli/config
echo "BreakpointFileExpiration = " >> .go-bcecli/config
echo "Https = yes" >> .go-bcecli/config
echo "MultiUploadThreadNum = " >> .go-bcecli/config
echo "SyncProcessingNum = " >> .go-bcecli/config
echo "MultiUploadPartSize = " >> .go-bcecli/config
echo "[Defaults]" > .go-bcecli/credentials
echo "Ak = $b_ak" >> .go-bcecli/credentials
echo "Sk = $b_sk" >> .go-bcecli/credentials
echo "Sts = " >> .go-bcecli/credentials
echo "根据要储存文件名的特点查找文件(排除.m2文件夹)"
for file in $(find . -path ./.m2 -prune -o -name *-*-*.pom -o -name *-*-*.jar -o -name *-*-*.*.asc); do
if [ './.m2' == $file ]; then
continue
fi
echo $file
./bcecmd --conf-path=./.go-bcecli bos cp $file bos://private-xuxiaowei/$CI_SERVER_HOST/$CI_PROJECT_PATH/pipelines-$CI_PIPELINE_ID-jobs-$CI_JOB_ID-$CI_COMMIT_SHORT_SHA${file#*target}
done
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Java
1
https://gitee.com/lxueweixi/xuxiaowei-cloud-next.git
git@gitee.com:lxueweixi/xuxiaowei-cloud-next.git
lxueweixi
xuxiaowei-cloud-next
xuxiaowei-cloud-next
main

搜索帮助

0d507c66 1850385 C8b1a773 1850385