Integrates with [Phabricator's](http://phabricator.org/)
[Differential](http://phacility.com/phabricator/differential/) and
[Harbormaster](https://secure.phabricator.com/book/phabricator/article/harbormaster/)
apps

# Configuration

Configuration instructions live [on
GitHub](https://github.com/uber/phabricator-jenkins-plugin)

# Changelog

### 1.9.8 (Unreleased)

-   Abort existing builds when a new build referencing same diff is
    scheduled (Gautam Korlam)
-   Add a gateway option - used as an override to url in Conduit
    credentials
-   Add Subversion support (Li-Wen Hsu)

### 1.9.7 (2016/08/09)

-   Report lint warnings from file (Anup Talwalkar)
-   Add "details" to unit results from "failure" in JUnit files (Haotian
    Liu)
-   Soften error message on URI artifact to prevent confusion about
    build failures

### 1.9.6 (2016/07/17)

-   Fix incorrect line coverage when merging multiple cobertura reports

### 1.9.5 (2016/05/02)

-   Use filenames to compute set of files to publish line coverage

### 1.9.4 (2016/04/28)

-   Publish inline coverage data only for changed files in the diff
-   Cleanup coverage files on jenkins master to save disk space

### 1.9.3 (2016/04/1)

-   Remove deprecated "Build started" comments in favor of Harbormaster

### 1.9.2 (2016/03/10)

-   Fix Harbormaster coverage filename/path detection for Python's
    coverage\>=4.0.3
-   Add differential variables to environment, display differential
    summary on build  
    summary view
-   Send build URL to Harbormaster when build starts (Chaitanya Pramod)

### 1.9.1 (2016/01/25)

-   Remove coverage dependency on cobertura build action. Allows
    Uberalls coverage  
    to work when the cobertura plugin is not enabled (for performance  
    reasons). (Gautam Korlam)
-   Improve readme (Brody Klapko)
-   Search for coverage files recursively when Cobertura publisher is
    disabled  
    (Gautam Korlam)

### 1.9.0 (2016/01/19)

-   Add more logging on differential fetch failure
-   Allow user to apply patch with force flag (Chaitanya Pramod)
-   Fix crash when missing cobertura plugin
-   Send Harbormaster status on non-Differential commits

### 1.8.3 (2015/12/09)

-   JENKINS-31335: Add checkbox to skip git clean step (Alexander
    Yerenkow)
-   Add option to create branch when applying diff (cellscape)
-   Collapse comment checkboxes when disabled (Gautam Korlam)

### 1.8.2 (2015/11/01)

-   Fix "comment size" option not being saved
-   Support merging multiple Cobertura coverage files, and fix source
    root  
    detection (Gautam Korlam)

### 1.8.1 (2015/09/22)

-   Don't require Uberalls to be enabled to post coverage data to
    Harbormaster
-   Handle UTF-8 strings properly in comment file

### 1.8.0 (2015/09/09)

-   Qualify log statements with "phabricator:"
-   Send a Harbormaster URI Artifacts for the Jenkins build (Chris
    Burroughs)
-   Clean up internal Harbormaster API
-   Make the Cobertura plugin an optional dependency (only used for
    Uberalls)
-   Consistently set defaults for notifiers (Chris Burroughs)
-   Increase unit test coverage to \>93%
-   Gracefully ignore missing author names/emails from conduit for
    summary badge
-   Report Cobertura coverage data to Harbormaster API
-   Add option to preserve formatting in additional comments (Gautam
    Korlam)
-   Report JUnit/XUnit results to Harbormaster

### 1.7.2 (2015/08/13)

-   Fix HTML escaping on build summary view (regression from auto-escape
    in 1.7.1)

### 1.7.1 (2015/08/13)

-   Fix class loading error in Apache HTTP client
-   Bump minimum required Jenkins version to 1.609.2 (from 1.609) so
    that class exclusions work for above fix
-   Add escape-by-default to Jelly templates
-   Re-enable Javadoc step

### 1.7 (2015/08/12)

-   Conduit token and Phabricator URL are now configured via the
    [Credentials
    plugin](https://wiki.jenkins-ci.org/display/JENKINS/Credentials+Plugin)
-   Harbormaster messages are now sent over conduit (no more \`arc\`
    dependency)
-   Removed deprecated "uber-dot-arcanist" functionality
-   Removed unused JNA and trove4j dependencies
-   Various bugfixes
-   Major refactoring and testing

### 1.6.1 (2015/06/15)

-   Update wiki path for plugin

### 1.6 (2015/06/14)

-   Rename plugin from "Phabricator Plugin" to "Phabricator Differential
    Plugin"
-   Add checkbox to control "Build Started" comments being posted to
    Phabricator

### 1.5 (2015/06/09)

-   Handle invalid responses from conduit