Skip to content

Latest commit

 

History

History
70 lines (54 loc) · 4.58 KB

File metadata and controls

70 lines (54 loc) · 4.58 KB

TeamCity-Inspection-Notification-Plugin setup automated

JetBrains Plugins Plugin Downloads

Project Maintenance Code Coverage License

Build Status Deploy Status

TeamCity server-side plugin that notifies committers about newly introduced code inspection violations.

Screen shot of app

Installation

Install it directly from JetBrains TeamCity-Plugin-Repository inspection-violation-notification.

Configuration

General settings

On TeamCity, as an administrator, configure the plugin on the administration tab "Inspection Violation Notification". Screen shot of app

Project level settings

On project level the notification mails can be disabled for a single project if required: Screen shot of app

Development

The development environment is pre-configured with setup automated.

The gitpod environment provides the following tools that start automatically:

  • TeamCity: TeamCity server and agent with the built and deployed plugin, configured with one build pipeline (this repository on branch "tc-test-project").
  • GreenMail: mail server

The following ports of the gitpod environment are opened:

Port Tool Usage
8111 TeamCity TeamCity-UI (use credentials for login: user=admin; password=admin)
10111 TeamCity JVM debug port for remote debug the plugin within TeamCity server
8080 GreenMail GreenMail-UI
3025 GreenMail GreenMail SMTP
3110 GreenMail GreenMail POP3

Run configurations for all important tasks are pre-defined for IntelliJ-IDEA.

Run-Config Type Usage
Clean & Install Maven Cleans and installs the complete project with maven.
Reload TC-Server Maven Reloads TeamCity server to make recent plugin changes available.
Run all tests JUnit Runs all JUnit tests within IntelliJ-IDEA.
Debug running TC-Server Remote JVM debug Attaches to TeamCIty server to debug the plugin.
Start mailbox logger for given email address Application Runs a mailbox logger showing all received mails for a given email address.