Christopher Fenner
dabbc724ad
handlePipelineStepErrors: extract error message to template ( #350 )
...
* add template for handleStepErrors
* add tests
* use template
* fix indent
* fix typo
* Update HandlePipelineStepErrorTest.groovy
* Update HandlePipelineStepErrorTest.groovy
2018-10-24 13:36:30 +02:00
Christopher Fenner
18078b3bdb
add sources for code coverage ( #349 )
...
* add sources for code coverage
* hand-in mocked script
* remove obsolete test case
2018-10-24 12:09:51 +02:00
Christopher Fenner
48990bac47
dockerExecute: use docker network to connect sidecar containers ( #352 )
...
* use docker network to connect containers
* add container names
* use network-alias instead of name
* Update dockerExecute.groovy
* Update dockerExecute.groovy
* Update dockerExecute.groovy
* Update dockerExecute.groovy
* Update DockerExecuteTest.groovy
* remove obsolete parameter
* Update default_pipeline_environment.yml
* Update DockerExecuteTest.groovy
* Update dockerExecute.groovy
* Update DockerExecuteTest.groovy
* Update dockerExecute.groovy
* update docs
2018-10-24 10:13:28 +02:00
Marcus Holl
6849081eec
fix mkdocs docker image version ( #354 )
2018-10-23 17:50:49 +02:00
Marcus Holl
0c3203bb44
Merge remote-tracking branch 'mholl/pr/cts' into HEAD
2018-10-23 15:46:11 +02:00
Marcus Holl
a2393c3f92
merge remote-tracking branch 'github/master' into HEAD
2018-10-23 09:08:59 +02:00
Marcus Holl
99382f4a82
Fix duplicate word in log message.
2018-10-23 09:02:22 +02:00
Marcus Holl
b2988c904c
Condence common code wrt backend type in cm steps
2018-10-23 09:02:20 +02:00
Marcus Holl
63dd8f4d1f
Merge pull request #319 from marcusholl/pr/stepReturnVoid
...
Pr/step return void
2018-10-18 15:14:22 +02:00
Marcus Holl
6653b68c0f
Merge remote-tracking branch 'github/master' into HEAD
2018-10-18 12:54:32 +02:00
Marcus Holl
43acbcf013
Merge pull request #289 from marcusholl/pr/configHelper
...
Increase usability/understandability of ConfigurationHelper
2018-10-18 11:13:25 +02:00
Marcus Holl
d4f9171247
erge remote-tracking branch 'github/master' into HEAD
2018-10-18 11:02:09 +02:00
Oliver Nocon
455461d3c1
add step pipelineRestartSteps ( #337 )
...
This step allows to restart a set of steps in order to retry in case of e.g. infrastructure failures which first need to be fixed.
* update documentation
2018-10-18 08:51:48 +02:00
Oliver Nocon
0e5ccabdae
add step gaugeExecuteTests ( #340 )
...
* seleniumExecuteTests - fixes
* add step gaugeExecuteTests incl. tests
* add documentation
* add more config options
2018-10-17 16:44:20 +02:00
Florian Wilhelm
b657dc6a29
Explicitly call toString()
on stepParameters
( #348 )
2018-10-17 12:27:24 +02:00
Oliver Nocon
1f8b94528c
add step mailSendNotification ( #336 )
...
This step allows to send email notifications in case of pipeline failures.
2018-10-17 12:05:11 +02:00
Marcus Holl
96cae66bf4
seleniumExecuteTest with void return value on call method
2018-10-17 12:02:19 +02:00
Christopher Fenner
dba20d496c
Merge branch 'master' into pr/stepReturnVoid
2018-10-17 11:50:58 +02:00
Marcus Holl
0831a244d3
switch to factory methods when a config is also provided.
2018-10-17 11:39:26 +02:00
Christopher Fenner
dc2e5ba856
Update ConfigurationHelper.groovy
2018-10-17 11:27:36 +02:00
Marcus Holl
6db02462c9
Inline private methods only called from constructor
2018-10-17 11:26:14 +02:00
Marcus Holl
210b9ebc2c
rename member variable 'script' to 'step'.
2018-10-17 11:15:37 +02:00
Marcus Holl
f47d540aa3
Introduce dedicated factory method for configuration helper
2018-10-17 11:15:37 +02:00
Florian Wilhelm
7f7afdad1a
Implement workaround for incompatible change in cloud foundry API ( #343 )
2018-10-17 11:01:09 +02:00
Oliver Nocon
b83222726a
enhance commonPipelineEnvironment with additional information ( #344 )
...
* enhance commonPipelineEnvironment with additional information
add additional git information to `commonPipelineEnvironment`:
* https url
* git branch
* github organization
* github repository
* rename github-related variables
* rename github-related variables
2018-10-17 09:54:04 +02:00
Marcus Holl
c3d8ad7926
Merge pull request #342 from SAP/healthCheck-patch
...
add telemetry to healthExecuteCheck
2018-10-17 09:45:55 +02:00
Oliver Nocon
f60dab8181
Merge branch 'master' into healthCheck-patch
2018-10-16 19:44:34 +02:00
Marcus Holl
c58237045a
Merge pull request #346 from SAP/OliverNocon-patch-1
...
Bump version
2018-10-16 16:26:26 +02:00
Marcus Holl
85f5a7e8ae
Adjust docu for checkChangeInDevelopment
2018-10-16 15:44:41 +02:00
Marcus Holl
b7ea5e8f66
add scripts (sh, groovy) for generating docu
2018-10-16 15:44:41 +02:00
Oliver Nocon
fe9dc7547b
Bump version
2018-10-15 16:33:00 +02:00
Oliver Nocon
8bea9b40aa
add telemetry to healthExecuteCheck
2018-10-15 14:18:47 +02:00
Oliver Nocon
17e8390511
add step healthExecuteCheck ( #339 )
...
This step allows to perform a basic health check on an installed application.
It verifies that your app has a simple health endpoint available and that there is no error when calling it.
2018-10-12 16:06:41 +02:00
Marcus Holl
9e27fde76e
CommonStepTest
2018-10-11 10:18:39 +02:00
Marcus Holl
6dc1f5aa59
Do not check return value of step isChangeInDevelopment
2018-10-11 10:18:39 +02:00
Marcus Holl
378f34da76
Fix return value for transport request create
...
since now handlePipelineStepError does not return anything anymore we need to put the
corresponding return statement inside createTransportRequest outside the handlinePipelineStepError
closure.
2018-10-11 10:18:39 +02:00
Marcus Holl
0c8f45544c
Remove return value (boolean) from checkChangeInDevelopment
2018-10-11 10:18:39 +02:00
Christopher Fenner
8071071e9d
set return type
2018-10-11 09:10:26 +02:00
Christopher Fenner
01365295cb
remove step return types
2018-10-11 09:10:26 +02:00
Marcus Holl
a56b9c0c8c
Merge pull request #322 from marcusholl/pr/swaPushOldConfigUsed
...
swa push old config used
2018-10-11 08:42:52 +02:00
Marcus Holl
479b1d483a
Merge remote-tracking branch 'github/master' into HEAD
2018-10-11 08:36:18 +02:00
Marcus Holl
349cb6450c
Merge pull request #333 from marcusholl/pr/stepNameTest
...
STEP_NAME test
2018-10-11 08:35:39 +02:00
Marcus Holl
27ecf37424
Merge remote-tracking branch 'github/master' into HEAD
2018-10-11 08:26:58 +02:00
Marcus Holl
11a7b24ce8
STEP_NAME test
...
Asserts that each step (modulo whitelist) comes with a STEP_NAME
field.
2018-10-11 08:24:33 +02:00
Christopher Fenner
3d2bc3f892
add missing parameter ( #164 )
2018-10-10 12:05:41 +02:00
Marcus Holl
203be37f75
Merge remote-tracking branch 'github/master' into HEAD
2018-10-09 16:57:26 +02:00
Marcus Holl
fd6a01a322
Merge pull request #320 from marcusholl/pr/assertOrderOfGitCommands
...
Ensure the order of the git commands
2018-10-09 16:51:47 +02:00
Marcus Holl
b8ff2a5285
Merge remote-tracking branch 'github/master' into HEAD
2018-10-09 16:30:55 +02:00
Marcus Holl
e629937db9
Merge pull request #315 from marcusholl/pr/noExplictGetterAnDSettersInCommonPipelineEnvironment
...
No explict getter an d setters in common pipeline environment
2018-10-09 16:29:49 +02:00
Marcus Holl
b6a205f9aa
Merge remote-tracking branch 'github/master' into HEAD
2018-10-09 15:31:43 +02:00