Generates a table to see the time difference betweent the tests of two Jenkins builds.
Be sure to have installed Node.js in your system. For example, you can install it on Ubuntu and Debian running the following commands:
curl -sL https://deb.nodesource.com/setup | sudo bash -
sudo apt-get install nodejs
sudo apt-get install npm
If you want the last version of the operator, you should change to the develop
branch:
git checkout develop
Install other npm dependencies by running: (need root because some libraries use applications, check package.json before to be sure)
sudo npm install
For build the operator you need download grunt:
sudo npm install -g grunt-cli
And now, you can use grunt:
grunt
If everything goes well, you will find a wgt file in the dist
folder.
Number of decimals
: This preference allows to change the number of decimals to be displayed on the table. Defaults to 3 decimals.
Build Test List
: List of the tests passed by builds. Can be obtained through thedetailed-jenkins-test-data operator
.
Table Data Model
: The table configuration and data to be plotted. This should be passed to thedata table viewer widget
.
To use this operator plug in a test list from the detailed-jenkins-test-data operator
and plug the Data and Structure
endpoint to the data table viewer widget
. To gather the tests passed by two builds, as required for this widget to work, two and filters can be used, merging together both builds before passing it to the detailed-jenkins-test-data operator
by using the union-list operator
.
Rows will be displayed with colors: danger color (red by default) when the test time increased, info color (blue by default) when there's no change in test time, and success color (green by default) when the test time decreased.
Input should be ordered before going to the detailed-jenkins-test-data operator
, being the first build the newest one for the row colors to be displayed properly.
If more than two build test lists are passed as input, only the first two will be used.