日常操作記錄

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在設(shè)置->網(wǎng)絡(luò)中讀取


3、jenkins相關(guān)

```

//MARK: - 命令相關(guān)

brew install Jenkins (jenkins-lts?) ?開啟(lts版本)

brew services restart jenkins (jenkins-lts?)重啟(lts版本)

//MARK:- 執(zhí)行相關(guān)

#!/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

```

最后編輯于
?著作權(quán)歸作者所有,轉(zhuǎn)載或內(nèi)容合作請聯(lián)系作者
【社區(qū)內(nèi)容提示】社區(qū)部分內(nèi)容疑似由AI輔助生成,瀏覽時請結(jié)合常識與多方信息審慎甄別。
平臺聲明:文章內(nèi)容(如有圖片或視頻亦包括在內(nèi))由作者上傳并發(fā)布,文章內(nèi)容僅代表作者本人觀點,簡書系信息發(fā)布平臺,僅提供信息存儲服務(wù)。

相關(guān)閱讀更多精彩內(nèi)容

友情鏈接更多精彩內(nèi)容