1、svn的git代理命令
Svn:
git config --global http.proxy socks5://127.0.0.1:7890
git config --global http.https://github.com.proxysocks5://127.0.0.1:7890
git config --global --unset http.proxy
git config --global --unset http.https://github.com.proxy
2、开启本地httpServer :
// 启动本地server
sudo apachectl start
cd /Users/***/Documents/httpServer
python -m SimpleHTTPServer
本地:http://localhost:8000 localhostIP在设置->网络中读取
3、jenkins相关
```
//MARK: - 命令相关
brew install Jenkins (jenkins-lts ) 开启(lts版本)
brew services restart jenkins (jenkins-lts )重启(lts版本)
//MARK:- 执行相关
#!/bin/bash -l
export LANG=en_US.UTF-8
export LANGUAGE=en_US.UTF-8
export LC_ALL=en_US.UTF-8
cd ./****
IPANAME="****"
fastlane gym --scheme **** --export_method ad-hoc --output_name ${IPANAME}
MSG=`git log -1 --pretty=%B`
curl -F "file=@${IPANAME}.ipa" -F "uKey=***" -F "_api_key=****" -F "updateDescription=${MSG}" https://qiniu-storage.pgyer.com/apiv1/app/upload
```