1
0
Fork 0
Archiving just in case where repo gets deleted
Find a file
Steven Cooney 7172047135 Setup Shared Parameters for Builds
Since there is limited access to parameters in the early stages of a build we need to pass through the shared parameters from the server to the agent. Once the BuildContext has these parameters we can then go forward and check all the required information is present before trying to patch in our revision changes.
2019-06-03 17:14:07 +01:00
Harbormaster-Teamcity-Plugin Update Harbormaster Defined Parameter Names 2019-06-03 17:10:39 +01:00
Teamcity-Phabricator-Plugin Setup Shared Parameters for Builds 2019-06-03 17:14:07 +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