×
Find plugins

Yaml Axis
0.2.0Minimum Jenkins requirement: 1.609ID: yaml-axis

Summary

Matrix project axis creation and exclusion plugin using yaml file (It's similar to .travis.yml)

Table of content

Usage

1. Add yaml file to repository

example

# axis.yml
RUBY_VERSION:
  - 2.1.8
  - 2.2.4
  - 2.3.0

exclude:
  - RUBY_VERSION: 2.1.8
  - RUBY_VERSION: 2.3.0
    DATABASE: oracle

2. Create Multi-configuration project

3. Configuration Matrix

Choose Yaml Axis

Input configurations

  • Axis yaml file : Yaml file path (relative path from workspace or absolute path)
  • Axis name : Top key in yaml file

You can combine Yaml Axis and other axes

4. Configuration Execution Strategy

Choose "Yaml matrix execution strategy" at Execution Strategy

If you don't want to exclusion, choose *Classic*

Input settings
Example 1 (Use yaml file)

Example 2 (Use yaml text)

4. Build job

Generate yaml based matrix and run job

  • blue is executed job
  • gray is excluded(skipped) job

Changelog

Details https://github.com/jenkinsci/yaml-axis-plugin/blob/master/CHANGELOG.md

Version 0.2.0

Version 0.1.2

Version 0.1.1

  • Suppress error
  • a few refactoring

Version 0.1.0

  • First release
ArchivesGet past versions
Links
Labels