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
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
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
864f27d129
Update .travis.yml
2018-02-01 13:01:00 +01:00
Christopher Fenner
0dbd79aa9a
Update .travis.yml
2018-02-01 11:06:52 +01:00
Christopher Fenner
2caf0db181
change notification secret
2018-02-01 11:05:50 +01:00
Christopher Fenner
d7cd626a08
add slack notification
2018-02-01 10:54:18 +01:00
Alejandra Ferreiro Vidal
4f624d5aea
add error rule as common rule
2018-02-01 10:11:37 +01:00
Alejandra Ferreiro Vidal
1eb035b5e1
Merge pull request #62 from alejandraferreirovidal/absolutePathBugFix
...
bugfix absolute path
2018-02-01 09:31:02 +01:00
Christopher Fenner
2f2ddb00f2
Merge pull request #61 from CCFenner/editorConfigYaml
...
specific settings for yaml file to fit currently used format
2018-02-01 09:21:43 +01:00
Alejandra Ferreiro Vidal
485eff7175
bugfix absolute path
2018-01-31 18:53:14 +01:00
Christopher Fenner
0a42fe8b1d
add phase for jacoco & coverall report
2018-01-31 10:38:55 +01:00
Marcus Holl
c55673daea
Merge pull request #56 from marcusholl/pr/rules
...
Provide Rule chain for the common rules used as prerequisite in almost all tests
2018-01-31 10:34:14 +01:00
Christopher Fenner
1361c03202
adapt editor config foy yaml files
2018-01-31 10:09:45 +01:00
Christopher Fenner
6700e570a5
add coveralls maven config
2018-01-31 09:26:21 +01:00
Christopher Fenner
3821b96b3f
add coveralls repo token
2018-01-31 08:31:01 +01:00
Christopher Fenner
5e2939f1fd
add JaCoCo code coverage
2018-01-30 21:36:49 +01:00
Christoph Szymanski
6fba26acb2
Merge pull request #57 from marcusholl/pr/fixInvalidBackwardCompatibilityHandling
...
Fix wrong backward compatibility handling for deployHost, deployAccount.
2018-01-30 17:18:00 +01:00
Marcus Holl
e3590c8603
[fix] ensure backward compatitility for credentials id
2018-01-30 17:09:17 +01:00
Marcus Holl
f52cbbe36a
Fix wrong backward compatibility handling for deployHost, deployAccount.
2018-01-29 15:11:02 +01:00
Marcus Holl
ef0b1bd9dd
[refactoring] Rule handling
...
Starting point for that refactoring: it turned out that the tests
was not independent. The DefaultValueCache which is a singleton
keeps the status over various tests. Success of test execution depends
on the order test execution.
We have now
* a dedicated rule for resetting the default value cache
* JenkinsConfiguration rule (which already provided facilities for
dealing with the configuration) has been replaced by a readYaml rule.
From the PipelineUnit test framework we get already a handler for
libraryResource, which is also part of the setup of the default
values.
* An auxiliar class which combines the
* JenkinsSetupRule (registers the lib)
* JenkinsReadYamlRule (provides facilities for Yaml parsing)
* JenkinsResetDefaultValueCacheRule (cleans up the DefaultValueCache)
into a rule chain. By using this rule chain we ensure that our
setup OK (piper lib registered, and default config can be setup in
a clean way).
2018-01-29 09:42:23 +01:00
Marcus Holl
0d87348c21
Replace JenkinsConfigRule by more speaking readYaml rule
...
and reset default cache rule.
2018-01-29 09:42:23 +01:00
Marcus Holl
437abcf225
Merge pull request #41 from marcusholl/pr/neoDeployWithNewConfigFramework
...
neo deploy with new config framework and introduce docker execute
2018-01-29 09:12:17 +01:00
Marcus Holl
8e3e60f1d5
Avoid interdependencies between tests
2018-01-26 15:39:04 +01:00
Marcus Holl
678b55e771
null docker image in case of missing docker daemon.
2018-01-25 16:41:27 +01:00
Marcus Holl
147d29a714
Check for running docker daemon with docker ps.
2018-01-25 16:41:27 +01:00
Marcus Holl
9a96acff57
change default for neo toolset from neo to neo.sh
...
The bash script is named 'neo.sh', not 'neo'. 'neo' as default will not work
despite somebody takes extra action to make it work.
2018-01-25 16:41:27 +01:00
Marcus Holl
bc2fb93551
Use dockerExecute inside neoDeploy
2018-01-25 16:41:27 +01:00