Marcus Holl
0bbbb56002
Do not hand over reference to step itself
...
needs to be the reference as it is available by script
2018-11-09 15:45:23 +01:00
Marcus Holl
88c4b3e967
Merge remote-tracking branch 'github/master' into HEAD
2018-11-05 13:54:10 +01:00
Marcus Holl
3cb958b740
Merge remote-tracking branch 'github/master' into HEAD
2018-11-05 13:30:43 +01:00
Marcus Holl
bb0953dab9
Fix codeclimate remarks
2018-11-05 12:59:40 +01:00
Marcus Holl
2e8a9db02c
script = this as fallback instead of map with cpe of current step
...
o The map does not provide access to e.g. sh, echo.
o this has the same cpe as property as it is constructed with the
current map approach.
2018-10-31 12:52:45 +01:00
Marcus Holl
ea23d65594
Merge remote-tracking branch 'github/master' into HEAD
2018-10-30 17:01:19 +01:00
Marcus Holl
11d34c2157
Step called without script: webanalytics
2018-10-30 16:24:48 +01:00
Marcus Holl
c03a75da9f
Ensure script is mandatory parameter
...
... only in case a step uses the script at all.
2018-10-30 16:24:47 +01:00
Marcus Holl
c7b05e9294
Adjust naming for config keys for step transportRequestRelease
2018-10-26 10:11:16 +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
b2988c904c
Condence common code wrt backend type in cm steps
2018-10-23 09:02:20 +02:00
Marcus Holl
6653b68c0f
Merge remote-tracking branch 'github/master' into HEAD
2018-10-18 12:54:32 +02:00
Marcus Holl
d4f9171247
erge remote-tracking branch 'github/master' into HEAD
2018-10-18 11:02:09 +02:00
Marcus Holl
f47d540aa3
Introduce dedicated factory method for configuration helper
2018-10-17 11:15:37 +02:00
Christopher Fenner
01365295cb
remove step return types
2018-10-11 09:10:26 +02:00
Christopher Fenner
0bc21ed7e2
remove unnecessary import
2018-10-09 15:25:46 +02:00
Marcus Holl
54ecc7d755
condence common code for getting change document id
2018-09-28 15:54:20 +02:00
Marcus Holl
058c6c0d9a
Condence common code for cm scenario
2018-09-28 15:38:29 +02:00
Marcus Holl
2d779233cc
Swich for switching off cm integration
2018-09-28 14:16:19 +02:00
Marcus Holl
56d150932f
release transport CTS support
2018-09-25 12:34:52 +02:00
Marcus Holl
4d7274ee45
Introduce backend type for releasing transports
2018-09-25 10:50:05 +02:00
Marcus Holl
8db2aaf5f0
don't use load step defaults as implicit factory method.
2018-09-07 10:08:16 +02:00
Christopher Fenner
12637119b9
swtich stage/step config loading to correct order ( #250 )
2018-08-15 10:37:34 +02:00
Oliver Nocon
71f7f05427
add telemetry reporting to steps ( #243 )
...
add telemetry to all steps using ConfigurationHelper.
Other steps need to be switched to ConfigurationHelper first.
update docs
2018-08-09 11:35:33 +02:00
Thorsten Willenbacher
9dfc7fcd01
refactor withCredentials to ChangeManagement util class
...
fix tests to match refactoring
2018-08-09 11:03:30 +02:00
Marcus Holl
f16d5c766b
Merge remote-tracking branch 'github/master' into HEAD
2018-07-25 12:26:20 +02:00
Marcus Holl
1e0fa0799e
[fix] Remove early check for mandatory param 'changeDocumentId'
...
otherwise we will never try to read the change document id from commit history.
2018-07-19 10:09:24 +02:00
Marcus Holl
f2bf406dee
Merge remote-tracking branch 'github/master' into HEAD
2018-07-18 12:42:54 +02:00
Marcus Holl
9d9c17d937
Merge remote-tracking branch 'github/master' into HEAD
2018-07-18 12:23:34 +02:00
Marcus Holl
9b4d55d0d9
switch to nested configuration for change management related steps
2018-07-17 16:41:42 +02:00
Marcus Holl
83e757475a
Merge remote-tracking branch 'github/master' into HEAD
2018-07-16 12:09:49 +02:00
Marcus Holl
63b0fd6f67
Merge remote-tracking branch 'github/master' into HEAD
2018-07-13 10:30:29 +02:00
Marcus Holl
b73df0f682
ReleaseTransportRequest: Read transportRequestId from commit history
2018-07-12 16:00:27 +02:00
Marcus Holl
1a32ac46d8
Prepare transportRequestRelease for layered tests
2018-07-12 16:00:26 +02:00
Marcus Holl
2310bb4bd5
Do not repeat the same parameter names for different configuration layers
...
changeId is removed from the step parameters since the changeId
is specific to the build. Hence there is no reason for providing
it from the deeper configuration layers.
2018-07-12 12:13:36 +02:00
Marcus Holl
52bb1e842d
Validate required parameters via config helper
...
- In case a parameter is missing we do not thrown and AbortException
anmore, but an IllegalArgumentExcpetion, since that exception is
thrown by the configuration helper. The difference is: AbortExceptions
are contained in the log without stacktrace, other exceptions are
printed with stack trace.
- Exception messages are changed to the standard error message triggered
inside the configuration helper. In case the changeDocumentId is
retrieved also from the commit history we keep an exception message
pointing to that.
- Having references to the parameters is droped. Instead the parameters
are directly used from the configuration map.
- in case of long signatures line breaks are inserted in order to
simplify reading the code.
2018-07-12 09:34:06 +02:00
Marcus Holl
c978d02532
Make use of decent helper function of configuration helper
2018-07-11 11:55:19 +02:00
Marcus Holl
4a9c0695ca
transportRequestRelease: get changeDocumentId from commit history
2018-07-10 16:34:42 +02:00
Marcus Holl
6d78a9c6a3
Support cmClientOpts for releasing a transport
2018-07-09 16:02:08 +02:00
Alejandra Ferreiro Vidal
ab8a1bb837
change credentialsId and endpoint
2018-06-28 16:24:14 +02:00
Marcus Holl
d8dca885bb
Change parameter name 'changeId' to 'changeDocumentId'
...
the official term in SAP-SolutionManager is 'change document'.
The term 'change' as reflected in 'changeId' is ambigous and could also be understand in the
sense of a change in a revision control system.
Choosing appropriate terms for parameters here deceases the amount of documentation
required for explaining what is really denoted by the parameter.
2018-06-28 13:46:00 +02:00
Alejandra Ferreiro Vidal
4464c9427b
add step transportRequestRelease
2018-06-26 10:40:08 +02:00