Alejandra Ferreiro Vidal
df9a3b3c14
improve log
2018-02-12 10:03:35 +01:00
Alejandra Ferreiro Vidal
9210583bd5
remove unused checks
2018-02-12 10:03:35 +01:00
Alejandra Ferreiro Vidal
39f982c598
refactor home to make it more readable
2018-02-12 10:03:35 +01:00
Alejandra Ferreiro Vidal
3ef6f2de80
remove duplicate code
2018-02-12 10:03:21 +01:00
Christopher Fenner
2d51e0f8a4
Merge pull request #77 from alejandraferreirovidal/moveUtilsTestClasses
...
move utils test classes to com.sap.piper folder
2018-02-12 08:41:34 +01:00
Christopher Fenner
a7f1ec0bad
add note regarding false aggregation
2018-02-12 08:41:12 +01:00
Christopher Fenner
60691dde5b
Merge branch 'master' into publishCheckResults
2018-02-12 08:37:15 +01:00
Alejandra Ferreiro Vidal
5bfb68d24a
move utils test classes to com.sap.piper folder
...
The folder com.sap.piper was created and the corresponding test classes
were not moved. Furthermore, a new UtilsTest class was created when this
test class did already exist, and the same tests were already
implemented, also this new test class uses the lesfurets testing
framework when it is not needed, so this new test class is removed and
the test class that there was before is kept.
2018-02-09 18:08:11 +01:00
Alejandra Ferreiro Vidal
68c666fab7
Merge pull request #69 from alejandraferreirovidal/mtaBuildNewConfig
...
mtaBuild with new config framework
2018-02-09 16:48:35 +01:00
Christopher Fenner
3f5d0c74db
use Integer for step invocation
2018-02-09 12:15:26 +01:00
Christopher Fenner
ddf1e609e4
rename step under test
2018-02-08 23:48:49 +01:00
Christopher Fenner
91e0b3294e
rename test script variable name
2018-02-08 16:38:55 +01:00
Christopher Fenner
7b894c02ea
rework step to fit to new config merger
2018-02-08 16:10:02 +01:00
Christopher Fenner
42978ddcb5
remove empty default values
2018-02-08 16:09:15 +01:00
Christopher Fenner
b443ac0e41
Merge branch 'master' into publishTestResults5
2018-02-08 14:14:07 +01:00
Alejandra Ferreiro Vidal
9dafdd1cc0
mtaBuild with new config framework
2018-02-08 13:26:48 +01:00
Christopher Fenner
ab80004356
remove unused test file
2018-02-08 10:58:56 +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
ebedbb01e0
add test for default thresholds
2018-02-08 10:43:06 +01:00
Christopher Fenner
e2bd9d54c3
set default threshold to 0 (integer)
2018-02-08 10:42:21 +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
6a87b4d2b1
cleanup defaults, set thresholds to 0 high issues
2018-02-08 10:28:42 +01:00
Christopher Fenner
13da89d181
set default to allow no high issues
2018-02-08 10:28:42 +01:00
Christopher Fenner
3056610e13
remove outdated methods
2018-02-08 08:54:34 +01:00
Christopher Fenner
be41b71b84
Merge branch 'master' into publishCheckResults
2018-02-08 08:53:04 +01:00
Christopher Fenner
157c9cacfe
Merge pull request #66 from CCFenner/deepConfigMerge
...
extend config merger to handle deep config structures
2018-02-08 08:50:20 +01:00
Christopher Fenner
3bf3a2a9f5
Update ConfigurationMergerTest.groovy
2018-02-07 22:53:47 +01:00
Oliver Nocon
fbd03a88da
Step for automatic versioning ( #65 )
...
It contains:
* versioning step artifactSetVersion
* versioning implementation for Maven & Docker
* enhancements to commonPipelineEnvironment
* extended default configuration
* new utils object for git-related tasks
* automated tests incl. new Rules and resources
* incorporated PR feedback
* step documentation
2018-02-07 13:17:33 +01:00
Christopher Fenner
f6d1303317
remove obsolete method
2018-02-07 12:08:01 +01:00
Christopher Fenner
87a3a77f44
rework config merge
2018-02-07 12:07:52 +01:00
Christopher Fenner
6300008fe2
adopt tests
2018-02-07 12:01:46 +01:00
Christopher Fenner
b27742314b
add plugin prerequisites
2018-02-06 21:36:31 +01:00
Alejandra Ferreiro Vidal
832a55f817
Merge pull request #71 from alejandraferreirovidal/cleanUpMtaBuilTest
...
Clean up MTABuildTest
2018-02-06 16:05:38 +01:00
Alejandra Ferreiro Vidal
42db55d5a5
remove public when not needed
...
See: https://github.com/SAP/jenkins-library/blob/master/CONTRIBUTING.md#do-not-use-a-visibility-modifier-for-public-classes-and-methods
2018-02-06 15:57:26 +01:00
Alejandra Ferreiro Vidal
334251ec82
remove curly braces when not needed
...
See: https://github.com/SAP/jenkins-library/blob/master/CONTRIBUTING.md#do-not-use-curly-braces--for-variables-or-variableproperty
2018-02-06 15:57:26 +01:00
Alejandra Ferreiro Vidal
615f8deb1d
add blanks to keep format
2018-02-06 15:57:26 +01:00
Alejandra Ferreiro Vidal
ae66a5cbca
add new lines to keep format
2018-02-06 15:57:26 +01:00
Alejandra Ferreiro Vidal
4360636609
add sed test
...
Removes straightForwardTest that has not a clear scope since it test all
that it is tested in the other tests.
Adds sed test.
Removes duplicated sed assertions.
2018-02-06 15:57:25 +01:00
Alejandra Ferreiro Vidal
69d0050e0c
remove blanks
2018-02-06 15:57:25 +01:00
Alejandra Ferreiro Vidal
cafa0a703b
format String as String not GString
...
See: https://github.com/SAP/jenkins-library/blob/master/CONTRIBUTING.md#use-single-quotes-for-strings-and-constants
2018-02-06 15:57:25 +01:00
Alejandra Ferreiro Vidal
8075157ea2
rename mtaHome with mtaJarLocation
2018-02-06 15:57:25 +01:00
Alejandra Ferreiro Vidal
868d13749c
add mtaJarLocation from environment test
...
Adds a test to check if the mtaJarLocation is read from the environment
and removes all duplicate assertions.
2018-02-06 15:57:25 +01:00
Alejandra Ferreiro Vidal
5d60bc8199
add environment PATH test
...
Adds an unit test to test that the environment PATH is set and removes
duplicate PATH assertions.
2018-02-06 15:57:25 +01:00
Alejandra Ferreiro Vidal
7f3f76a8ad
remove duplicated mtarFilePath assertions
...
mtarFile Path must be checked only when it is in the scope of the unit
test.
2018-02-06 15:57:24 +01:00