phabricator-jenkins-plugin | Jenkins plugin to integrate with Phabricator | Plugin library
kandi X-RAY | phabricator-jenkins-plugin Summary
kandi X-RAY | phabricator-jenkins-plugin Summary
This plugin provides [Phabricator][] integration with [Jenkins][]. It allows Jenkins to report build status and coverage information over Harbormaster (or via comments if Harbormaster is not enabled). [Phabricator]: [Jenkins]:
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
- Performs prebuild
- Queries the topalls for the current branch coverage
- Get the coverage provider for the current build
- Send HarbProcess result via phiaster
- Sets up the environment variables
- Fetches a differential ID
- Get the credentials for the given credentials
- Get the revision ID
- Sends the Harbore unit results
- Creates a POST request
- Sends a HarbMaster message to the Conduitator
- Call the Phabricator API of the given action
- This method is called after a build is triggered
- Gets abort - on - revision id
- Get the upstream run of a build
- Get a relative path from the given include files
- Check if the changed file contains the suffix
- Execute the build
- Sends a uri as an artifact
- Executes postDiff comment action
- Performs setup
- Record coverage
- Checks if the current executor is on Windows
- Executes the repository
- Compares two CodeCoverageMetrics
- Sends the diffusion result
phabricator-jenkins-plugin Key Features
phabricator-jenkins-plugin Examples and Code Snippets
Community Discussions
Trending Discussions on phabricator-jenkins-plugin
QUESTION
I'm using the plugin from Jenkins for the integration with Phabricator. Everything works perfectly during the integration, but when an arc diff
is executed, the only files received on the Jenkins job is the files edited or created by the arc diff
. This is a problem when creating microservices and editing files that could potentially affect to other microservices.
Any thoughts on how to get the whole workspace from the repository (hosted also in Phabricator) to be tested, instead of only the diff files?
I've created an issue on the plugin, here is the link:
https://github.com/uber/phabricator-jenkins-plugin/issues/334
...ANSWER
Answered 2020-Jan-10 at 15:01Using git plugin
and the repository URL, has been quite straightforward: added the URL of the staging area
(in my case is the same as the repository) and git
credentials (as username/password
). The only trick is to indicate which tag
we need to test. Since phabricator staging areas
uses two tags per diff
(phabricator/base/${DIFF_ID}
with the base code of the diff and phabricator/diff/${DIFF_ID}
with the whole code with the diff applied), i used the following setting:
As result, git plugin
will build the code of the whole project with the diff applied.
More information about the integration and the needed variables can be found here: https://github.com/uber/phabricator-jenkins-plugin
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install phabricator-jenkins-plugin
Navigate to https://ci.example.com/configure with your base Jenkins URL in place of "ci.example.com".
Navigate to the Phabricator section and click the Add button. ![Add Credentials](/docs/add-credentials.png)
From the Kind dropdown, select Phabricator Conduit Key.
Enter the base URL for your Phabricator instance in the Phabricator URL field. For example https://phabricator.example.com.
Enter a description in the Description field for readability.![Configure Credentials](/docs/configure-credentials.png)
Paste the Conduit API token (created in the Phabricator Configuration section) in the Conduit Token field.
Click the Add button.
Click the Save button.
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page