Giter Club home page Giter Club logo

commit-status-publisher's Introduction

Teamcity Commit Status Publisher

official JetBrains project

TeamCity build feature publishing a commit status to an external system like JetBrains Upsource, GitHub, Gerrit Code Review tool, Bitbucket Cloud or Atlassian Stash.

The plugin is compatible with TeamCity 7.1.x and later and [is bundled] (see Commit Status Publisher) since TeamCity 10.x.

Download

Get plugin from the latest build corresponding to your TeamCity version:

TeamCity Status Download
TeamCity 10.0.x Download
TeamCity 9.1.x Download

Found a bug? File an issue.

Build

Local plugin build

In the absence of the TeamCity project, you can build the plugin locally using libraries from the TeamCity distribution by running the following command:

gradle clean build -PTeamCityTestLibs=TEAMCITY_DISTR/devPackage/tests -PTeamCityLibs=TEAMCITY_DISTR/webapps/ROOT/WEB-INF/lib -PTeamCityVersion=DIST_VERSION

Where TEAMCITY_DISTR must be replaced with an absolute path to the TeamCity distribution directory. And DIST_VERSION must be replaced with actual version of distribution.

Local plugin build from the scratch

For this build you require full bundle of TeamCity sources. Before building the plugin locally, you should build required artifacts using IntelliJ IDEA. To do it open in IntelliJ IDEA Build | Build artifacts menu and build artifacts: dist-openapi-integration and web-deployment.

To build the plugin locally if it is located within a subdirectory run the command in the plugin project root directory:

gradle clean build -PTeamCityVersion=TEAMCITY_VERSION

Parameter TEAMCITY_VERSION is optional (default value: SNAPSHOT), it describes which version of TeamCity libraries should be used from remote maven repository (or local cache).

Local plugin build using separate TeamCity sources

If TeamCity project sources are located elsewhere, not as plugin parent directory, please use the following command:

gradle clean build -PTeamCityTestLibs=TEAMCITY_PROJECT/.idea_artifacts/dist_openapi_integration/tests -PTeamCityLibs=TEAMCITY_PROJECT/.idea_artifacts/web-deployment/WEB-INF/lib -PTeamCityVersion=DIST_VERSION

Where TEAMCITY_PROJECT must be replaced with an absolute path to the TeamCity project directory. DIST_VERSION is optional, by default will be used SNAPSHOT value and will be used prebuilt version of TeamCity Open API from local maven cache, or you can pass actual version of TeamCity to get Open API from remote maven repository.

Build result

The target directory of the project root will contain the commit-status-publisher.zip file, which is ready to be installed.

Once the plugin is installed, add the Commit Status Publisher build feature to your build configuration.

Publishing TeamCity Open API to local maven cache

If you have TeamCity sources, and you want to use locally built version of TeamCity Open API you can prebuild it with IntelliJ IDEA, using menu Build | Build artifacts and selecting there artifact dist-openapi. After successfull build you should execute command to publish built artefact to maven cache:

mvn -f install_teamcity_api_pom.xml package -DTeamCityVersion=DIST_VERSION

Where DIST_VERSION must be replaced by SNAPSHOT by default, or any version, that you want than to pass as TeamCityVersion parametr to the gradle script.

commit-status-publisher's People

Contributors

aefimov avatar aeisele avatar atroxaper-jb avatar ctomc avatar cy6erskunk avatar dmitry-treskunov avatar dtretyakov avatar hutoroff avatar hypnosphi avatar iguanajazz avatar j0tunn avatar joncubed avatar jonnyzzz avatar julia-alexandrova avatar karanagai avatar kilinajb avatar kir avatar kirill-c9k avatar manturovdan avatar matevarga avatar millqk avatar nd avatar nirkoren avatar nskvortsov avatar orybak avatar pavel-krizskii avatar pavelsher avatar vladrassokhin avatar willabides avatar yaegor avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.