1
0
mirror of https://github.com/SAP/jenkins-library.git synced 2024-12-14 11:03:09 +02:00
Commit Graph

4222 Commits

Author SHA1 Message Date
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
Alejandra Ferreiro Vidal
4aa4a1d2f5 remove unused cpe 2018-02-06 15:57:24 +01:00
Alejandra Ferreiro Vidal
9cb6f53678 remove unused code 2018-02-06 15:56:57 +01:00
Christopher Fenner
158392fc73
Merge pull request #70 from CCFenner/jacocoCodeCoverage
add code coverage measuring (jacoco/coveralls.io)
2018-02-06 14:08:00 +01:00
Christopher Fenner
2a6c0d5f34 use key map to iterate over parameters, not defaults key map 2018-02-06 13:44:03 +01:00
Christopher Fenner
82ba8f89a1 Merge commit '829b5ac490e4ee14bfe64b3093854a66dcce212f' into jacocoCodeCoverage2 2018-02-06 13:10:55 +01:00
Christopher Fenner
829b5ac490
Merge pull request #72 from CCFenner/mkdocs
correct mkdocs command
2018-02-06 10:43:23 +01:00
Christopher Fenner
6cd4a9076a
correct docs command
return to workspace
2018-02-06 09:57:52 +01:00
Christopher Fenner
02c983e374
remove wrapping RuleChain 2018-02-06 09:53:27 +01:00
Christopher Fenner
6e3bfac5c8 consolidate marge methods 2018-02-06 08:41:28 +01:00
Christopher Fenner
0566cab5db extend map helper 2018-02-06 08:37:56 +01:00
Christopher Fenner
edf3deaa9c rename method 2018-02-05 20:31:30 +01:00
Christopher Fenner
88d09eee63 filter by keyset 2018-02-05 19:54:04 +01:00
Christopher Fenner
20cbbfc26c filter by keyset and null 2018-02-05 19:39:13 +01:00
Christopher Fenner
eab6716797 use default map as base for merge (iteration) 2018-02-05 19:32:50 +01:00
Christopher Fenner
8c02b8bc86 mock step configuration change 2018-02-05 16:02:59 +01:00
Christopher Fenner
87de7417ca add further tests 2018-02-05 13:48:39 +01:00
Christopher Fenner
853bc963c0 add additional test case 2018-02-05 13:33:15 +01:00
Christopher Fenner
adc77a66ab
use full qualified plugin names 2018-02-05 12:59:35 +01:00
Alejandra Ferreiro Vidal
ea5481d971
Merge pull request #63 from alejandraferreirovidal/errorRule
add error rule as common rule
2018-02-05 11:33:48 +01:00
Christopher Fenner
c712925e86
Merge branch 'master' into jacocoCodeCoverage 2018-02-05 10:00:49 +01:00
Christopher Fenner
b1abad89b8
Merge pull request #64 from CCFenner/slack-notification
add Slack notification for Travis
2018-02-05 09:40:15 +01:00
Christopher Fenner
308b566607
correct env variable name 2018-02-05 08:32:07 +01:00
Christopher Fenner
fc2cb4e722 add coverage badge 2018-02-04 09:27:59 +01:00
Christopher Fenner
baf231ce59 execute tests only once 2018-02-04 09:16:38 +01:00
Christopher Fenner
1610d163e2 remove unused coveralls config file 2018-02-04 09:16:29 +01:00
Christopher Fenner
efe116c028 add after success to travis config 2018-02-04 08:46:37 +01:00
Christopher Fenner
8568ebbc68 Merge commit '0a42fe8b1d7292ca8fc2a4595b4b9dcbb98fd556' into jacocoCodeCoverage
# Conflicts:
#	pom.xml
2018-02-04 08:46:25 +01:00
Christopher Fenner
bf1a2a98e0 remove debug log 2018-02-02 15:08:22 +01:00
Christopher Fenner
f213f98f07 fix step renaming 2018-02-02 15:07:33 +01:00
Christopher Fenner
64046b6de2 rename step to checksPublishResults 2018-02-02 14:50:26 +01:00
Christopher Fenner
5dfc433601 add more test cases 2018-02-02 14:45:45 +01:00
Christopher Fenner
577871468b remove debug logs 2018-02-02 12:58:10 +01:00
Christopher Fenner
b538189e3e remove testResultsPublish 2018-02-02 12:43:03 +01:00
Christopher Fenner
99ccf0a516 rename step 2018-02-02 12:25:28 +01:00
Christopher Fenner
6337134607 add test cases 2018-02-02 12:25:18 +01:00
Christopher Fenner
a0ad1e1a13 add missing config parameter 2018-02-02 12:25:01 +01:00