問(wèn)題一:安裝jenkins后“可選插件”列表為空
解決方案:選擇插件管理-高級(jí)-升級(jí)站點(diǎn)-更改URL為http://mirror.xmission.com/jenkins/updates/update-center.json-點(diǎn)擊提交即可
問(wèn)題二:通過(guò)jenkins安裝git插件失敗?
提示:java.io.IOException: Downloaded file /Users/Shared/Jenkins/Home/plugins/bouncycastle-api.jpi.tmp does not match expected SHA-1, expected 'IIOSwykf+UWKG/YNIHunIoI5oBk=', actual '1BElt7TWENwWUm0vcTtkXNKjVYc=' (如果有人解決希望能告知一下)
解決方案:網(wǎng)上搜索了資料并沒(méi)有解決我的問(wèn)題,只能手動(dòng)上傳https://github.com/ciandcd/jenkins-awesome/tree/master/jenkins_home/plugins 這個(gè)網(wǎng)站我所需要的都有,沒(méi)有的可以自己下載,安裝時(shí)也會(huì)失敗,那是因?yàn)橛行┎寮仨毾劝惭b,才可以裝其他插件
此問(wèn)題相關(guān)資料:http://www.ciandcd.com/?p=65
問(wèn)題三:創(chuàng)建數(shù)據(jù)庫(kù)遇到的坑mysql -u root -p 會(huì)發(fā)現(xiàn)無(wú)法進(jìn)入mysql
解決方案:1:裝mysql workbench ??梢暬缑嬷苯硬僮?。
2:蘋(píng)果->系統(tǒng)偏好設(shè)置->最下邊點(diǎn)mysql 在彈出頁(yè)面中 關(guān)閉mysql服務(wù)
3:進(jìn)入終端輸入:
cd /usr/local/mysql/bin/?
回車(chē)后輸入
sudo su?
登錄管理員權(quán)限,使用
./mysqld_safe --skip-grant-tables
?& 禁止mysql驗(yàn)證功能。 回車(chē)后mysql會(huì)自動(dòng)重啟,重啟好了之后進(jìn)入
mysql workbench
?隨便創(chuàng)建一個(gè)連接,然后用戶名填root (注意這里不會(huì)驗(yàn)證密碼,所以填只要存在的賬戶就可以)。
點(diǎn)擊 圖中的配置按鈕,進(jìn)入配置界面
點(diǎn)擊store in keychain 并會(huì)彈出輸入密碼界面,這時(shí)候只要輸入密碼就可以完成密碼的修改了。緊接著就是創(chuàng)建數(shù)據(jù)庫(kù)
mysql> CREATE DATABASE sonar CHARACTER SET utf8 COLLATE utf8_general_ci;
mysql> CREATE USER 'sonar' IDENTIFIED BY 'sonar';
mysql> GRANT ALL ON sonar.* TO 'sonar'@'%' IDENTIFIED BY 'sonar';
mysql> GRANT ALL ON sonar.* TO 'sonar'@'localhost' IDENTIFIED BY 'sonar';
mysql> FLUSH PRIVILEGES;
此問(wèn)題相關(guān)資料:http://blog.csdn.net/maylorchao/article/details/45648045
問(wèn)題四:執(zhí)行mysql語(yǔ)句報(bào)錯(cuò)ERROR 1290 (HY000): The MySQL server is running with the --skip-grant-tables option so it cannot execute this statement
解決方案:這個(gè)時(shí)候我們只需要
flush privileges
一下,在添加用戶就OK了,
mysql> flush privileges;
Query OK, 0 rows affected (0.01 sec)
mysql> GRANT ALL PRIVILEGES ON *.* TO IDENTIFIED BY '123' WITH GRANT OPTION;
Query OK, 0 rows affected (0.00 sec)
這個(gè)時(shí)候我們成功搞定了,再登錄就可以了。
此問(wèn)題相關(guān)資料:http://www.cnblogs.com/iosdev/archive/2013/07/15/3190431.html
問(wèn)題五:xcode8 跑腳本run-sonar.sh 報(bào)錯(cuò):reason: 'Got error while trying to deserialize event 'Build settings from command line:': The data is not in the correct format.'
解決方案:目前還沒(méi)有辦法解決,facebook正在解決中 問(wèn)題追蹤地址:https://github.com/facebook/xctool/issues/704
目前已解決:https://my.oschina.net/ChenTF/blog/806565
問(wèn)題六:The project named “” does not contain a scheme named “”. The “-list” option can be used to find the names of the schemes in the project
解決方案:Choose Scheme > Manage Schemes (from the Product Menu).
Ensure the ‘Shared’ box is checked for that scheme
A new .xcscheme file has been created in your project at
WorkspaceName.xcworkspace/xcshareddata/xcschemes.
Commit this file to your repository
謝謝下面大佬