phabricator-jenkins-plugin
phabricator-jenkins-plugin is developed Uber let Phabricator support automation tools built by Jenkins, through the introduction of this tool, we can easily achieve the following related functions:
- Construction of the test is automatically triggered after the filing code review, test results and the build list which is attached to the review;
- Code via
arc land
the merger and pushed to the remote branch instruction, can be triggered automatically build project, particularly if the item is a jar package items, steps to deploy PW may be added in the Job constructed Jenkins;
The overall process is as follows:
Which Herald
is Phabricator
one of the applications, the application rules which may be configured to trigger various actions node, and if a match triggering rule, arranged inside the operation of the application is executed.
Harbormaster
Is Phabricator
building tools to build tools for third-party tools such as Jenkins initiated by the build request.
Review initiated trigger point : As shown above, by arc diff
the time of initiating code review will trigger the rule Herald configuration:
Rules trigger an action: Differential Revisions (review of the action)
When all of these conditions are met:
Repository projects include any of 支付组
Take these actions every time this rule matches:
Run build plans: Plan 3 提交代码审查触发自动化构建测试.
The implementation of the action rule is invoked Harbormaster to build Jenkins initiate a test request, after the construction of the test is completed, the building will be attached to the results of the review list, the results shown in Figure:
Submit code review trigger point : by examining the code is pushed to Phabricator
the time code repository, it will trigger the Herald
rule configuration:
Rules Trigger Action: Commit, detailed rules:
When all of these conditions are met:
Repository projects include any of 支付组
Take these actions every time this rule matches:
Run build plans: Plan 2 提交代码触发自动化构建.
If you push the warehouse after payment is part of the group is to initiate Jenkins build requests, build complete, the code will be added to the list Commit Build Instructions:
First published in: phabricator integrated building automation Jenkins