jbzoo/toolbox-ci

This package is abandoned and no longer maintained. The author suggests using the jbzoo/ci-report-converter package instead.

Toolbox for continuous integration system

Installs: 18 880

Dependents: 0

Suggesters: 0

Security: 0

Stars: 1

Watchers: 1

Forks: 0

Open Issues: 0

Type:project

1.6.0 2021-04-25 22:20 UTC

This package is auto-updated.

Last update: 2021-04-26 11:40:17 UTC


README

Build Status Coverage Status Psalm Coverage Scrutinizer Code Quality CodeFactor PHP Strict Types
Stable Version Latest Unstable Version Dependents GitHub Issues Total Downloads GitHub License

Installing

composer require jbzoo/toolbox-ci

# OR use phar file.
# Replace <VERSION> to the latest version. See releases page or badge above
wget https://github.com/JBZoo/Toolbox-CI/releases/download/<VERSION>/toolbox-ci.phar

Usage

$ php ./vendor/bin/toolbox-ci convert --help
Description:
  Convert one report format to another

Usage:
  convert [options]

Options:
  -S, --input-format=INPUT-FORMAT    Source format. Available options: checkstyle, github-cli, junit, phpmd-json, phpmnd, psalm-json, tc-inspections, tc-tests
  -T, --output-format=OUTPUT-FORMAT  Target format. Available options: checkstyle, github-cli, junit, phpmd-json, phpmnd, psalm-json, tc-inspections, tc-tests
  -N, --suite-name=SUITE-NAME        Set name of root suite
  -I, --input-file[=INPUT-FILE]      Use CLI input (STDIN, pipeline) OR use the option to define filename of source report
  -O, --output-file[=OUTPUT-FILE]    Use CLI output (STDOUT, pipeline) OR use the option to define filename with result
  -R, --root-path[=ROOT-PATH]        If option is set all absolute file paths will be converted to relative
  -F, --tc-flow-id[=TC-FLOW-ID]      Custom flowId for TeamCity output
  -h, --help                         Display this help message
  -q, --quiet                        Do not output any message
  -V, --version                      Display this application version
      --ansi                         Force ANSI output
      --no-ansi                      Disable ANSI output
  -n, --no-interaction               Do not ask any interactive question
  -v|vv|vvv, --verbose               Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug

Available Directions

68747470733a2f2f6d65726d6169642e696e6b2f696d672f65794a6a6232526c496a6f695a334a68634767675446493758473467494341675932686c5932747a64486c735a56397a636d4d6f58434a446147566a61314e306557786c4c6e6874624677694b547463626941674943426e6158526f645749745932787058335268636d646c64436863496b64706445683159694242593352706232357a494330675130784a584349704f3178754943416749477031626d6c3058334e7959796863496b7056626d6c304c6e6874624677694b5474636269416749434271645735706446393059584a6e5a58516f58434a4b56573570644335346257786349696b3758473467494341676347687762575174616e4e76626c397a636d4d6f58434a51534642745a43357163323975584349704f317875494341674948426f634731755a46397a636d4d6f58434a5153464274626d517565473173584349704f317875494341674948427a595778744c57707a6232356663334a6a4b46776955484e6862473075616e4e76626c77694b547463626941674943423059793170626e4e775a574e30615739756331393059584a6e5a58516f58434a555a57467451326c306553417449456c756333426c593352706232357a584349704f317875494341674948526a4c58526c6333527a58335268636d646c64436863496c526c5957314461585235494330675647567a64484e6349696b3758473467494341676447397662474a766543316a6153676f58434a5562323973596d39344c554e4a584349704b547463626c78754943416749474e6f5a574e72633352356247566663334a6a494430395069423062323973596d39344c574e704f3178754943416749477031626d6c3058334e7959794139505434676447397662474a766543316a615474636269416749434277614842745a4331716332397558334e7959794139505434676447397662474a766543316a61547463626941674943427761484274626d526663334a6a494430395069423062323973596d39344c574e704f317875494341674948427a595778744c57707a6232356663334a6a494430395069423062323973596d39344c574e704f3178754943416749485276623278696233677459326b675054302b49476470644768315969316a62476c66644746795a3256304f3178754943416749485276623278696233677459326b675054302b49477031626d6c3058335268636d646c64447463626941674943423062323973596d39344c574e70494430395069423059793170626e4e775a574e30615739756331393059584a6e5a58513758473467494341676447397662474a766543316a615341395054346764474d746447567a64484e66644746795a3256304f317875584735736157357255335235624755675a47566d5958567364434270626e526c636e4276624746305a53426959584e70637a73694c434a745a584a7459576c6b496a7037496e526f5a57316c496a6f695a6d39795a584e30496e3139

php ./vendor/bin/toolbox-ci convert:map
Source/Target CheckStyle.xml GitHub Actions - CLI JUnit.xml PHPmd.json PHPmnd.xml Psalm.json TeamCity - Inspections TeamCity - Tests
CheckStyle.xml - Yes Yes - - - Yes Yes
GitHub Actions - CLI - - - - - - - -
JUnit.xml - Yes Yes - - - Yes Yes
PHPmd.json - Yes Yes - - - Yes Yes
PHPmnd.xml - Yes Yes - - - Yes Yes
Psalm.json - Yes Yes - - - Yes Yes
TeamCity - Inspections - - - - - - - -
TeamCity - Tests - - - - - - - -

Unit tests and check code style

make build
make test-all

License

MIT