本文已迁移到 xuanyiliu.com
BTW 我自己已经把项目从Jenkins迁移到了BuddyBuild上,如果你只有一个项目,公司不限制或是个人项目,完全可以用BB来代替,BB配置很简单,按步骤就行了。如果是公司要自己搭建持续集成服,这个还是一个可读的文章,比较入门。
本文已迁移到 xuanyiliu.com
BTW 我自己已经把项目从Jenkins迁移到了BuddyBuild上,如果你只有一个项目,公司不限制或是个人项目,完全可以用BB来代替,BB配置很简单,按步骤就行了。如果是公司要自己搭建持续集成服,这个还是一个可读的文章,比较入门。
本文标题:Jenkins+GitHub+Xcode+fir搭了一个持续集成
本文链接:https://www.haomeiwen.com/subject/hommqttx.html
网友评论
Build settings from command line:
CONFIGURATION_BUILD_DIR = /Users/Shared/Jenkins/Home/workspace/xunbaozl_iOS/build/
.....
进度条一直红色, 20分钟了. 有人碰到吗
+ fir p /Users/Shared/Jenkins/Home/workspace/AutoUpdateDemo/build/AU.ipa -T 242b8ab8dda2cddeb79e35d067fbec1b
/Users/Shared/Jenkins/tmp/hudson6202982120634677322.sh: line 2: fir: command not found
Build step 'Execute a set of scripts' changed build result to FAILURE
Build step 'Execute a set of scripts' marked build as failure
Finished: FAILURE
我直接在命令行输入 fir命令成功的更新了版本
但是自动构建一直提这个问题
不知道是不是因为/Users/Shared/Jenkins/tmp/hudson6202982120634677322.sh这个文件不存在的原因
security: SecKeychainUnlock /Users/Shared/Jenkins/Library/Keychains/login.keychain: The specified keychain could not be found.
FATAL: Unable to unlock the keychain.
Build step 'Xcode' marked build as failure
Finished: FAILURE请问这个问题是什么情况?
ld: library not found for -lAFNetworking
clang: error: linker command failed with exit code 1 (use -v to see invocation)
** BUILD FAILED **
The following build commands failed:
Ld build/XX.build/Release-iphoneos/XX.build/Objects-normal/armv7/XX normal armv7
(1 failure)
=== BUILD TARGET XX OF PROJECT XXX WITH CONFIGURATION Release ===
Check dependencies
unsupported build action 'archive'
Will not set default: file /Users/Shared/Jenkins/Library/Keychains/login.keychain does not exist
security: SecKeychainSetDomainDefault user: write permissions error
[workspace] $ /usr/bin/security unlock-keychain -p ******** /Users/Shared/Jenkins/Library/Keychains/login.keychain
security: SecKeychainUnlock /Users/Shared/Jenkins/Library/Keychains/login.keychain: The specified keychain could not be found.
FATAL: Unable to unlock the keychain.
当我把路径改为/Users/tw/Library/Keychains/login.keychain(应该是本地路径) 时
提示:
Will not set default: file /Users/tw/Library/Keychains/login.keychain does not exist
security: SecKeychainSetDomainDefault user: write permissions error
[workspace] $ /usr/bin/security unlock-keychain -p ******** /Users/tw/Library/Keychains/login.keychain
security: SecKeychainUnlock /Users/tw/Library/Keychains/login.keychain: write permissions error
FATAL: Unable to unlock the keychain.
密码都正确。
当我在另一台mac上按教程搭建时,一切顺利。。。。。
不知道哪里有区别?希望遇到过的同学指教
security: SecKeychainSetDomainDefault user: write permissions error
报这个错误,求解
Jenkins 官网给第地址中我找不到。http://updates.jenkins-ci.org/download/plugins/?C=M;O=A
note:
如果项目使用了cocoapods,需要配置Advanced Xcode build options,
设置
1 Schema
2 SDK iphoneos
3 Workspace File(不用加.xcworkspace)
4 Build output directory 也设为${WORKSPACE}/build/
遇到问题根据log分析解决.
希望能有所帮助.
要疯掉了
http://ww4.sinaimg.cn/large/6b288462gw1eulvhi264rj209y06i3yv.jpg
为什么在safari上打开是英文的,在chrome上打开是中文的???