1.0.0 • Published 9 years ago

mozaik-ext-teamcity v1.0.0

Weekly downloads
1
License
MIT
Repository
github
Last release
9 years ago

Mozaïk TeamCity widgets

Based on https://github.com/plouc/mozaik-ext-jenkins

License NPM version widget count

TeamCity Client Configuration

In order to use the Mozaïk TeamCity widgets, you must configure its client.

parameters

keyenv keyrequireddescriptionnotes
baseUrlTEAMCITY_API_BASE_URLyesTeamCity base url
basicAuthUserTEAMCITY_API_BASIC_AUTH_USERyesTeamCity auth user
basicAuthPasswordTEAMCITY_API_BASIC_AUTH_PASSWORDyesTeamCity auth password

usage

{
  //…
  api: {
    teamcity: {
      baseUrl: 'https://my-teamcity.ci',
        basicAuthUser:     'user',
        basicAuthPassword: 'password'
    }
  }
}

TeamCity Build Type Builds

TeamCity build type builds

Show TeamCity build type builds.

parameters

keyrequireddescription
buildtypeidyesTeamCity build type identifier
titlenoWidget title (TeamCity build type builds if none provided)

usage

{
  type: 'teamcity.build_type_builds',
  buildtypeid: 'my-build-type-id',
  columns: 1, rows: 1, x: 0, y: 0
}

TeamCity Build Type Builds Histogram

TeamCity build type builds histogram

Show TeamCity build type builds histogram.

parameters

keyrequireddescription
buildtypeidyesTeamCity build type identifier
titlenowidget title (view name used if none provided)
capnonumber of builds to show

usage

{
  type: 'teamcity.build_type_builds_histogram',
  buildtypeid: 'my-buildtype-id',
  columns: 2, rows: 1, x: 0, y: 0
}

TeamCity Build Type Status

TeamCity build type status

TeamCity build type status bold

Display build type current build status.

parameters

keyrequireddescriptionnotes
buildtypeidyesTeamCity build type identifier
layoutnowidget layout (none for default or 'bold')
titlenowidget title (view name used if none provided)

usage

{
  type: 'teamcity.build_type_status', buildtypeid: 'my-buildtype-id',
  columns: 1, rows: 1, x: 0, y: 0
}

TeamCity Project

TeamCity project

List project build types

parameters

keyrequireddescription
projectidyesTeamCity project identifier
titlenowidget title (view name used if none provided)

usage

{
    type: 'teamcity.project',
    projectid: 'my-project-id',
    columns: 2, rows: 1, x: 0, y: 0
}