1
0
Fork 0
Archiving just in case where repo gets deleted
Find a file
Steven Cooney 8d56fa3128 Initial Agent Plugin Setup
We have added an agent side plugin which will be used to patch in the changes from a phabricator differential. We verify all the required settings are in place and enable the patching process after the repository have been cloned. Currently arcanist has been implemented to pull in the diff we are going to build upon that is the next step.
2019-06-04 11:18:50 +01:00
Harbormaster-Teamcity-Plugin Update Harbormaster Defined Parameter Names 2019-06-03 17:10:39 +01:00
Teamcity-Phabricator-Plugin Initial Agent Plugin Setup 2019-06-04 11:18:50 +01:00
.gitattributes Add .gitattributes file 2019-06-03 11:47:37 +01:00
.gitignore Add Basic TeamCity Phabricator Plugin 2019-05-30 13:53:15 +01:00
README.md Send Build Result to Harbormaster 2019-06-03 11:23:30 +01:00

Splint

X-Lab's Linting Spine

Things

This repository holds the plugins created to link together our internal systems. The original premise to link Phabricator, TeamCity and SonarQube to enable linting on differential reviews.

Below are the plugins:

  • Harbormaster-Teamcity-Plugin
  • Teamcity-Phabricator-Plugin
  • SonarQube-Phabricator-Plugin

Harbomaster-Teamcity-Plugin

The harbormaster plugin allows us to trigger a build configuration within TeamCity as part of a harbormaster build plan.

The plugin requires:

  1. TeamCity URI
  2. Build Configuration to trigger a build for
  3. TeamCity access token to authenticate with the server

To deploy simply drag the contents of the folder to src/extensions/ on the Phabricator instance and then restart the application.

Teamcity-Phabricator-Plugin

The teamcity plugin comprises of server and agent plugins for teamcity.

Server

The server plugin monitors builds with the phabricator feature enabled waiting for builds to finish and notify phabricator.

Once build is triggered from phabricator using Harbomaster-Teamcity-Plugin and the phabricator build feature is configured on the build configuration then the server plugin will wait and listen for the build to finish before reporting the result back to harbormaster to be displayed in phabricator.

Getting Started

Harbormaster-Teamcity-Plugin No building is needed for for the harbormaster plugin just dev away and copy the files into the src/extensions folder with your phabricator instance

Teamcity-Phabricator-Plugin

You will need to move in to the Teamcity-Phabricator-Plugin/ folder:

  • To build the plugins (server and agent) just run: mvn package

By default the teamcity plugin is equipped with teamcity-sdk-maven-plugin which allows for a local instance of teamcity with debugging capabilities. See their documentation for how to use: https://github.com/JetBrains/teamcity-sdk-maven-plugin