????位?????????? >> ??????????
???Jenkins??iOS/Android????????????
?????DebugTalk ???????[ 2016/7/13 14:39:52 ] ????????android iOS
????Jenkins???
????Jenkins?蟹????????????????????????????
??????????iOS/Android??????????????????????????????????
????· GIT plugin
????· SSH Credentials Plugin
????· Git Changelog Plugin: ??????????commit log
????· build-name-setter?????????Build????
????· description setter plugin???????????Build???????????????????????????QRCode???????
????· Post-Build Script Plug-in????????????????薪??????些??????
????· Xcode integration: iOS?????????
????· Gradle plugin: Android?????????
??????????????????????Jenkins?????????????????????????????????伞?
?????????????Job??
??????Jenkins?校??????????Job????????????????????????????????Job??????????????锌????卸???????????锌????????????泄??????????????????????????Job??
????????Job?????卸????????????????Freestyle project???????伞?
????Main page -> New Item -> Freestyle project
???????????????????????????未??????4?????????????????????????泄?????????????????????????Job????????????????谩?
????????Git??????
?????????????泄????????????????????????????????????????????泄???GitHub??胁???校????????????Git???????谩?
???????Source Code Management??????????锟�??????GIT plugin??????????????Git??睢�
????????Git?????????????????????????????URL?????Repository URL??????????校?榉�???Credentials??????????Job????????????????Branches to build????
??????????Repository URL??????HTTPS URL??SSH URL???伞???????????????Credentials???Repository URL???????????
????· ???Repository URL??HTTPS URL?????????Credentials?????GitHub??????????校?榉�?????????????GitHub?锌?????2FA??two-factor authentication??????????????GitHub?写??????Personal access token????????????????Personal access token??????????????
????· ???Repository URL??SSH URL????????????????Jenkins??????????????????SSH?????????????????GitHub??SSH keys?校????????写Credentials??????SSH Username with private key??校?榉�???????GitHub Username??SSH???????????SSH???????????Passphrase??
?????????Git???校??????????????????慰??????????Git???校?闋�??
??????????Branches to build??????????????????????????????branchName????tagName??commitId??????蟹?????????????????纾�???????master?????????写refs/heads/master?????????develop?????????写refs/heads/develop??
???????????????Git?????????????????????????????????????????Jenkins??????????????????
?????????????????????clone?????y???????
??????Jenkins??????????校?clone??????????????????姹�?????????????????????10?????????????些????校?????????????????????姹�?????????????绻�???????????Jenkins?????????10???????????????写??????????????????????????????143????
??????????????????????????????????路???????????????????????姹�??????????????????????????Advanced clone behaviours?校?
????· Shallow clone??????????????姹�??
????· Timeout (in minutes) for clone and fetch operation?????煤?????????????
???????霉?????????
?????????????煤??????味??Jenkins?????????GitHub??????????????????????????
??????Jenkins???????泄??????
????????????霉????????????????????????????????位???Build Triggers???????
???????????????????????????校?
????· ??????泄?????Build periodically??
????· ?????????泄?????Build when a change is pushed to GitHub??
????· ???????????锟�????懈???????泄?????Poll SCM??
????????????????????????????????????????????????????????????????泄?????????????????????????????Jenkins Job?????????????????????????????Build Now????????????
??????????????Schedule???????????????锟�?
????MINUTE HOUR DOM MONTH DOW
????· MINUTE: Minutes within the hour (0-59)
????· HOUR: The hour of the day (0-23)
????· DOM: The day of the month (1-31)
????· MONTH: The month (1-12)
????· DOW: The day of the week (0-7) where 0 and 7 are Sunday.
??????????????????????????????????????operator?????????????锟�???
????· *??????????效???????????????????*?位??
????· M-N???????围??????7-9????7/8/9??????
????· M-N/X??*/X????X???????
????· A??B??C??????????
???????????????????????????????????????????????????????????H????????H?????Jenkins???????????????????????????????????????????瓒�???????????????????????????????????????Jenkins???????????????????????????????????????
??????????????芯?????????
????· H/15 * * * *?????????15??????????????????????小???????:07??:22??:37??:52???????小???????:03??:18??:33??:48??
????· H(0-29)/10 * * * *?????????小??????10??????????????????????小???????:04??:14??:24???????小???????:09??:19??:29??
????· H 23 * * 1-5???????????23:00??23:59??????????
???????霉??????
???????????????煤????Jenkins?????瓒�??????????泄????????????泄????????????????????????霉?????????????瓒�??
??????????????????????????????????????????????????????????????????????纾�???????Android???????Gradle plugin??????????Invoke Gradle script????????Gradle???泄????????????iOS???????Xcode integration?????????????Xcode????????Xcode???泄?????
?????????????????????????UI??????????????????????????????????????????????????????????械????????????????????????????????????????????????????????????????些?????????????些??????????些???????姹�??XCode?姹�?????????????????????????????
??????????????????????????????????写?????????????????????????械??????????????Execute Shell????小??????????????????????????????????????????????????????锌????????
????????????iOS??????????????????????????????????????????谩?
????????????Xcode integration??????泄?????????????????????Jenkins?械???????椋�????写????????睢�??????????????????????泄?????????????????????Jenkins?????械??????邪???????????椋�?????????Shell???????????????????Jenkins????写??????????????????
????????????
????????????????????????ipa/apk????位??????????小???????????????????邪??ipa/apk?????????榉�??????????????????????眉????????????写??????????????????????????????????????????????????????????PP???????????????邪????
???????????????????????????????pgyer????fir.im????????ipa/apk???????????????????????????????????????????蟹?????????????????????????????????????效????????????????
?????????????????????????
??????????????????fir.im?????卸????Jenkins??????????????????Post-build?????????????????
???????????Jenkins?????fir.im???????????????????????????HTTP Post????????????
????????????????????????????????????????????薪??械??谩??????????妫�????????????????????????????????????绻�????????????????????????
????Jenkins???????????????pgyer/fir.im????????????????????????????薪?????URL?????????蟹????
?????????????
?????????????URL????????????????????????????????Jenkins?????????????斜??????
??????????????????????????description setter plugin??????貌???????Post-build Actions??????谢???description setter??????????????????????????build????????????????????????????????build????校???????????????????斜??小?
????????????????????????????????????斜???貌???????????????????????????HTML??img???????<img url='qr_code_url'>写??build????????小?
??????????????路???????????????????????????????????效????
???????????Jenkins?????????????????????????Markup Formatter?????????Plain text????????????????????build????????械?HTML??????薪??????
????????????????Manage Jenkins -> Configure Global Security????Markup Formatter??????????Safe HTML???伞?
???????????煤??????????build????????胁???HTML??img????????????
??????????????????????????????????pyger?????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????URL??????????????????薪??蟹??????????????锟�???????喂?????????????????URL??????????????
????????????????????????????????????????????????????????????????娴�??????????build??????????????????Jenkins??????伞?
???????????????Artifacts??
??????????????????????????????????????????械??????????????????
???????????锟�???????????????械?????????????.ipa/.app/.plist/.apk????????????????????????????????????????????????????????????????????????
??????????????????????????Post-build Actions???????????Archive the artifacts???????Files to archive?????????????????????????路????
??????????????喂???????Jenkins????Console Output?胁????瓒�??????????????????????????????????????????????????
???????
????????????????????Jenkins??iOS/Android??????????????????????????????????????????????婕�??????????睢�?????????build.py???????Jenkins????????????????????????????????????????????薪???????????
??????????????????浼�??????Jenkins?????????????????????????纬??????澹�????????Jenkins?校???????????????????????????????????????????????????????????????????????????????????????效????
???????????????????????婕�???????????????????SPASVO小??(021-61079698-8054)?????????????????????????
??????
???????????????????些???????????????????????????2017?????????????????????AutoRunner???????????????2016??1??8??V4.0?姹�?????????????????????TestDirector?娣�??????????WinRunner????????????????????WinRunner???????????????Winrunner TSL????????????????WinRunner?????????????????????????WinRunner?????????????????WinRunner???????????????????????????????????????????VectorCAST-?????????????????????????????????械??????????????????????????????????????

???路???
??????????????????
2023/3/23 14:23:39???写?貌??????????
2023/3/22 16:17:39????????????????????些??
2022/6/14 16:14:27??????????????????????????
2021/10/18 15:37:44???????????????
2021/9/17 15:19:29???路???????路
2021/9/14 15:42:25?????????????
2021/5/28 17:25:47??????APP??????????
2021/5/8 17:01:11????????
?????????App Bug???????????????????????Jmeter?????????QC??????APP????????????????app?????械????????jenkins+testng+ant+webdriver??????????????JMeter????HTTP???????Selenium 2.0 WebDriver ??????