Marcus Holl
a1823aeb98
checksPublishResults: prepare reports only if the reporting is active ( #2971 )
...
* checksPublishResults: prepare reports only if the reporting is active
* test
* remove un-used import
* dummy in order to trigger checks
2021-07-12 10:02:09 +02:00
Christopher Fenner
9cd3ee5758
fix(checks+tests): fail pipeline if plugins fail the build ( #2463 )
...
* fix false negative
* add comment
* add default
2020-12-11 14:49:36 +01:00
Christopher Fenner
e1d140e513
fix(checksPublishResults): typo in tool it key ( #2443 )
2020-12-03 14:16:04 +01:00
Christopher Fenner
eff1933a61
refactor(checks): use warnings-ng plugin ( #2398 )
...
* use recordIssues
* fix c&p issue
* simplify code
* fix
* add quality gates
* change qgates to TOTAL_HIGH
* remove pattern for tasks
* use TOTAL_ERROR for checkstyle
* fix indent
* use deprecated threshold parameters
* debug messages
* transform legacy qgates
* fix
* adjust test cases
* correct qgates
* correct legacy thresholds
* fix typo
* remove deprecated defaults
* add test case
* log use tool
* add notification
* remove deprecated defaults
* remove deprecated parameter
* adjust legacy threshold message
* add q gates on error and high for all check tools
* Apply suggestions from code review
* adjust test cases
* remove duplicate assert
* Fail if aggregation is still defined
* update docs
* fix indent
* Update documentation/docs/steps/checksPublishResults.md
Co-authored-by: Stephan Aßmus <stephan.assmus@sap.com>
Co-authored-by: Stephan Aßmus <stephan.assmus@sap.com>
2020-11-25 15:39:33 +01:00
Stephan Aßmus
8169d56ef7
Groovy: Load step defaults also from stages section in defaults ( #1943 )
...
Co-authored-by: Christopher Fenner <26137398+CCFenner@users.noreply.github.com>
2020-08-26 15:32:58 +02:00
Christopher Fenner
7845e18f4d
fix NonCPS issues ( #796 )
...
* remove NonCPS statement
* remove NonCPS anntotation
* fix typo
* remove NonCPS anntotation
* remove NonCPS anntotation
* remove NonCPS anntotation
* remove NonCPS anntotation
* remove NonCPS anntotation
* remove Iterable
* remove mixins
* add mixins
* add mixins 2
* add mixins 3
* add NonCPS anntotation
* remove tokenize
* remove closure
* remove closure
* replace closure
* use Object
* use Object
* use Object
* remove object
* remove object
* add logic
* change type
* change type
* remove NonCPS anntotation
* remove NonCPS anntotation
* add import
2019-07-29 10:17:56 +02:00
Alejandra Ferreiro Vidal
a179dc6e3d
checksPublishResults: generate docu
2019-04-09 19:46:23 +02:00
Christopher Fenner
10267ce7d1
Analytics: add step parameter keys ( #442 )
...
* add stepParamKey values
* camelCase
2019-01-21 08:47:34 +01:00
Marcus Holl
b7468a7ae4
Step name is not a string literal anymore
...
Having the step name always the same like the file name, which is in turn the class name is
redundant.
2018-11-29 09:54:05 +01:00
Marcus Holl
b53f260fd3
Fix codeclimate remarks
2018-11-05 12:26:48 +01:00
Marcus Holl
2e8a9db02c
script = this as fallback instead of map with cpe of current step
...
o The map does not provide access to e.g. sh, echo.
o this has the same cpe as property as it is constructed with the
current map approach.
2018-10-31 12:52:45 +01:00
Marcus Holl
ea23d65594
Merge remote-tracking branch 'github/master' into HEAD
2018-10-30 17:01:19 +01:00
Marcus Holl
11d34c2157
Step called without script: webanalytics
2018-10-30 16:24:48 +01:00
Marcus Holl
c03a75da9f
Ensure script is mandatory parameter
...
... only in case a step uses the script at all.
2018-10-30 16:24:47 +01:00
Marcus Holl
6653b68c0f
Merge remote-tracking branch 'github/master' into HEAD
2018-10-18 12:54:32 +02:00
Marcus Holl
f47d540aa3
Introduce dedicated factory method for configuration helper
2018-10-17 11:15:37 +02:00
Christopher Fenner
01365295cb
remove step return types
2018-10-11 09:10:26 +02:00
Marcus Holl
8db2aaf5f0
don't use load step defaults as implicit factory method.
2018-09-07 10:08:16 +02:00
Christopher Fenner
6007f54074
use new config handler in steps ( #253 )
...
* use new config handler
* use new config handler
* add reporting
* Update checksPublishResults.groovy
* remove unused ConfigurationMerger methods
* fix typo
* revert changes on script loading
* remove outdated test case
* Add missing import
2018-08-15 11:53:28 +02:00
Alejandra Ferreiro Vidal
36788e2b45
remove null value from merge
2018-03-08 17:16:20 +01:00
Marcus Holl
efafd9a44a
[refactoring] resolve data inside merge ( #101 )
2018-02-28 11:42:19 +01:00
Marcus Holl
5fe76eb9dc
Replace usage of lists for denoting keys by sets.
...
The characteristics of a list are
o the order of the entries is significant
o duplicates are allowed
The characteristics of a set are
o the order is not significant
o duplicates are not allowed.
When describing keys for a step the characteristics of a
set applies here, whereas the characteristics of a list does
not apply.
2018-02-19 12:53:08 +01:00
Christopher Fenner
78321e35f1
defile static tool list
2018-02-16 10:08:48 +01:00
Christopher Fenner
d97769b56c
cleanup
2018-02-08 10:53:48 +01:00
Christopher Fenner
a4b8d3828c
rename method
2018-02-08 10:52:10 +01:00
Christopher Fenner
c48d0a7416
simplify parameter preparation
2018-02-08 10:51:39 +01:00
Christopher Fenner
c6300f4570
correct handling of parameter maps
2018-02-08 10:50:11 +01:00
Christopher Fenner
4abbff8b70
remove null options for parsers
2018-02-08 10:43:24 +01:00
Christopher Fenner
8adf79bfe1
use MapUtils
2018-02-08 10:28:42 +01:00
Christopher Fenner
f278bbbd14
use empty defaults
2018-02-08 10:28:42 +01:00
Christopher Fenner
54d5196f1a
use flat list for parameter filtering
2018-02-08 10:28:42 +01:00
Christopher Fenner
87de7417ca
add further tests
2018-02-05 13:48:39 +01:00
Christopher Fenner
64046b6de2
rename step to checksPublishResults
2018-02-02 14:50:26 +01:00