Marcus Holl
fe147eff81
Handle parameters as env vars instead of options for RFC upload
...
options are not supported for dockerExecuteOnKubernetes, but
environment variables are. Hence we switch to environment variables
which works on both, plain docker and on kubernetes.
Using env vars is the cleaner approach anyway.
2019-02-08 12:03:05 +01:00
Marcus Holl
8d1786fa8d
DevelopmentInstance for upload file rfc
2019-02-07 11:46:45 +01:00
Marcus Holl
3a982a8f04
provide developent instance for transportRequest release RFC
2019-02-07 11:24:39 +01:00
Marcus Holl
54018be2f0
Provide developmentInstance for transportRequestCreate RFC
2019-02-07 11:18:32 +01:00
Marcus Holl
e9c1834f9d
Provide development instance for create transport request RFC
2019-02-07 11:12:17 +01:00
Marcus Holl
d8d2d8b1fd
abap development client always under changeManagement.rfc
2019-02-07 10:11:22 +01:00
Marcus Holl
fb9ec4992f
development client not via flat parameter
2019-02-07 09:44:17 +01:00
Marcus Holl
074929a6ac
echo command line also in case of RFC related tasks
2019-02-07 09:25:56 +01:00
Marcus Holl
5aecea02b6
control flow: Replace if with case
2019-02-07 09:21:50 +01:00
Marcus Holl
a4f879ea62
[refactoring] get ride of uploadFiletoTransport method.
...
We can also call executeWithCredentials directly.
2019-02-07 08:48:49 +01:00
Marcus Holl
fd5a07d403
applicationId -> applicationName for RFC file upload
2019-02-07 08:29:53 +01:00
Marcus Holl
200e18f468
transportRequestRelease sanity checks for CTS case.
2019-02-06 15:31:50 +01:00
Marcus Holl
608b76f1c8
transportRequestRelease sanity checks for SOLMAN case.
2019-02-06 15:16:27 +01:00
Marcus Holl
663b840dee
Add test for release transport CTS success
2019-02-06 14:23:00 +01:00
Marcus Holl
d8b0de3735
Add step test: transportRequestRelease for CTS fails
2019-02-05 17:29:45 +01:00
Marcus Holl
6f96f3d87b
Add test for transportRequestRelease failure for type RFC
2019-02-01 13:29:41 +01:00
Marcus Holl
59bff987d7
Test for releaseTransportRequest RFC sanity checks
2019-02-01 13:23:08 +01:00
Marcus Holl
0d2dec0922
Introcude test transportRequest RFC release
2019-02-01 13:08:25 +01:00
Marcus Holl
cb61d80e12
development client for RFC release transport not hard coded anymore
2019-02-01 13:08:25 +01:00
Marcus Holl
c785e53317
split releaseTransportRequest method into three methods
...
one for each BackendType.
2019-02-01 13:08:24 +01:00
Marcus Holl
3551ed2121
[formatting] shorter lines with long method signature
2019-02-01 08:40:19 +01:00
Marcus Holl
7a4ca50399
Fix log message. Was invalid for backendType RFC.
2019-01-31 17:08:05 +01:00
Marcus Holl
6072bbd280
Remove outdated comment from test class
2019-01-31 14:12:05 +01:00
Marcus Holl
6a6e075da8
Provide test for transport request create rfc fails
2019-01-31 14:02:54 +01:00
Marcus Holl
53ae89d16f
[refactoring] streamline control flow
2019-01-31 13:17:23 +01:00
Marcus Holl
71148faa42
Test for create transport request via RFC succeeds.
2019-01-31 13:06:52 +01:00
Marcus Holl
3ea0cb6208
Remove duplicate test
...
the other test doing the same is testReleaseTransportRequestFailsSOLMAN
2019-01-31 12:38:46 +01:00
Marcus Holl
5302d1d7b1
Merge remote-tracking branch 'github/master' into work
2019-01-31 09:55:21 +01:00
Marcus Holl
06f48ce5e7
Test failure case RFC upload ChangeManagement
2019-01-31 09:39:34 +01:00
Oliver Nocon
3b2e42c74f
Add step containerExecuteStructureTest ( #441 )
...
* add step containerExecuteStructureTest
* include PR-review feedback
* documentation
2019-01-31 09:39:13 +01:00
Marcus Holl
80c7da76f4
Test good case RFC upload ChangeManagement
2019-01-31 09:31:52 +01:00
Christopher Fenner
bca5b8ccf1
Add step uiVeri5ExecuteTests ( #469 )
...
* add defaults for uiVeri5 step
* add step and tests
* correct parameter names
* add empty docs
* add docs annotations
* remove not needed parameter
* add docs annotations
2019-01-31 09:16:34 +01:00
Marcus Holl
01cdfc5d91
Make clear in the testName which type we test.
2019-01-31 09:06:02 +01:00
Christopher Fenner
fbb9cbeb3c
Update dockerExecuteOnKubernetes.groovy ( #474 )
2019-01-31 08:49:31 +01:00
Marcus Holl
34b0e1f4f5
RFC: upload failure test
2019-01-30 17:34:16 +01:00
Marcus Holl
40d89f2e5d
Test: sanity check parameters
2019-01-30 17:34:16 +01:00
Marcus Holl
dfe69d7a31
Test: upload rfc success
2019-01-30 16:57:25 +01:00
Marcus Holl
a70fc10ae0
Parameter applicationURL instead of file path
2019-01-30 16:02:48 +01:00
Marcus Holl
7f6b8a6850
Use docker image as specified by caller
2019-01-30 15:59:48 +01:00
Marcus Holl
ce710dfa38
More consistent test names for transportRequestUploadFile
2019-01-30 15:13:10 +01:00
Marcus Holl
eb49958a64
[refactoring] Streamline code flow
2019-01-30 15:13:10 +01:00
Marcus Holl
88d50a0a10
Fix error message: cmclient, rfc client
2019-01-30 15:13:10 +01:00
Marcus Holl
661745fd81
Merge remote-tracking branch 'github/master' into HEAD
2019-01-30 15:01:09 +01:00
Christopher Fenner
def66f4ffa
extend Analytics ( #439 )
...
* add extension mechanism for analytics
* add sha1 hashing
* correct return types
* correct registerEventListener method
* decrese visibility of createInstance
* correct typo
* catch exceptions from tests
* correct test case
* Update Analytics.groovy
* rename to Telemetry
* rename file
* fix typo
* add test case for generateSha1
* expose methods to tests
* add clear method for tests
* change return type
* add test for Telemetry class
* replace UtilsTests
* remove unused imports
* make default reporter static
* add stage parameters to payload
* simplify SHA1 method
* remove obsolete method
* remove obsolete methods
* remove outdated tests
2019-01-30 12:39:33 +01:00
Florian Geckeler
a72e33f488
Stop old instance only if it exists in CloudFoundry
...
If there was no instance deployed in CF and blue-green deployment was activated stopping the old instance caused a failure of the pipeline, even if the application was deployed successfully.
With that change the failure of the pipeline will be avoided in case of no old application is available.
2019-01-30 10:07:00 +01:00
Marcus Holl
ddaa941b25
Merge pull request #473 from marcusholl/pr/fixDocuGeneratorFormatting
...
fix docu generator formatting
2019-01-29 17:52:39 +01:00
Marcus Holl
50edac02ca
First char after docu asterisk is pruned
...
... with a blank after the asterisk the docu looks more beautifyfull.
2019-01-29 17:30:26 +01:00
Marcus Holl
8fb7c85e99
keep leading blanks in order to render 'git diff! Note' statements
2019-01-29 17:30:25 +01:00
Marcus Holl
80a7ae38d3
Provide docker image 'rfc' on the level of CM.releaseTransportRequest
2019-01-29 15:11:52 +01:00
Bernd Maier
c7a6b073fc
RFC release transport
2019-01-29 14:57:31 +01:00