GithubHelp home page GithubHelp logo

cosmingramada / teamcity-matrix-build-plugin Goto Github PK

View Code? Open in Web Editor NEW

This project forked from presidentio/teamcity-matrix-build-plugin

0.0 2.0 0.0 123 KB

Helps to run the same build with different combinations of parameters

License: Apache License 2.0

Java 100.00%

teamcity-matrix-build-plugin's Introduction

teamcity-matrix-build-plugin

Build Status

Overview

This teamcity plugin can run builds with matrix configuration. Jenkins alternative. A matrix-build runner is useful when you want to run you build configuration with different combinations of parameters. In usual case you are creating multiple build configurations with the same steps and change specific parameters. Using this plugin you can just specify possible values for each parameter and run one build, which will trigger child builds with each possible combination of parameters. It is implementation of teamcity feature TW-3661

Usage

Build plugin from sources

  1. Clone git repository
git clone https://github.com/presidentio/teamcity-matrix-build-plugin
  1. Build
mvn clean install
  1. Plugin built and ready for installation. Plugin bundle location: ./target/matrix-build.zip

Installation

  1. Download latest version of the plugin from releases tab or use built by yourself and install it
wget https://github.com/presidentio/teamcity-matrix-build-plugin/releases/download/v1.0.0/matrix-build.zip
  1. Copy plugin to teamcity plugins directory
cp PATH_TO_PLUGIN_BUNDLE <TeamCity Data Directory>/plugins/
  1. Restart teamcity server:
service teamcity restart

More info: Installing Additional Plugins for Teamcity

Setup

Create build configuration using parameters placeholders. For example: %hadoop.version% Go to you project Build Configuration Settings and create a new build configuration with matrix-build step. Select previously created Build Type. List parameters and their values in Build Parameters. A newline-separated list of properties with comma separated variants of value: =<value1,value2,value3>. They must be formatted in java properties style. For example:

hadoop.version=2.7.1,2.6.3,2.5.2
hive.version=1.2.1,1.1.1
oozie.version=4.2.0,4.1.0

Specify your user credentials. It's required to access server using REST Api. If you don't want to use you credentials - create new user and grant him permissions to start and stop builds. This inconvenience will be removed as soon as build user will have required permissions. At this point you have configured build.

Viewing Results

You can look at child builds list at Matrix build tab on build page. There are listed finished, running and queued builds with there parameters.

Licensing

This software is licensed under the terms in the file named "LICENSE" in this directory.

teamcity-matrix-build-plugin's People

Contributors

presidentio avatar

Watchers

 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.