Git Product home page Git Product logo

teamcity-inspection-notification-plugin's Introduction

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.

teamcity-inspection-notification-plugin's People

Contributors

dependabot[bot] avatar frimtec avatar

Stargazers

 avatar

Watchers

 avatar  avatar

teamcity-inspection-notification-plugin's Issues

Plugin throws exception when checking for inspection changes

I have installed the plugin on TeamCity Enterprise 2022.04.1 (build 108575), The test email works but the emails on inspections change doesn't.

Upoon looking in the server logs i see this message:

[2023-09-06 11:47:36,536] WARN - ildServer.util.EventDispatcher - Error in event handler: Error calling method BuildServerListener.buildFinished for listener com.github.frimtec.teamcity.plugin.inspectionnotification.InspectionNotificationBuildListener: org.springframework.jdbc.BadSqlGrammarException: ConnectionCallback; bad SQL grammar []; nested exception is com.microsoft.sqlserver.jdbc.SQLServerException: Invalid object name 'INSPECTION_DIFF'. (enable debug to see stacktrace)

It appears something to do with the SQL query to get the inspection_diff table

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.