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
Christopher Fenner
059268459a
Merge branch 'master' into CCFenner/newman
2018-08-09 10:34:00 +02:00
Oliver Nocon
65b582dc9d
artifactSetVersion - add new artifact types & cleanup ( #242 )
...
* artifactSetVersion - add new artifact types & cleanup
added:
* dlang
* golang
* npm
* pip
* scala
* add documentation update
2018-08-08 22:21:26 +02:00
Christopher Fenner
240df88882
add stashing & private test repositories
2018-08-08 11:22:08 +02:00
Marcus Holl
3d78affc3b
Merge branch 'master' into pr/transportRequestUploadFilewithMtarFileFromCPE
2018-08-03 08:49:05 +02:00
Christopher Fenner
2c2700f10a
Merge branch 'master' into CCFenner-patch-2
2018-08-01 08:54:45 +02:00
Christopher Fenner
30f0c5a6cc
correct test cases
2018-08-01 08:50:21 +02:00
Christopher Fenner
0db93df011
fix closure
2018-08-01 08:41:49 +02:00
Christopher Fenner
8c7dc44d1d
add tests
2018-08-01 08:30:10 +02:00
Marcus Holl
0bac7ac27e
Take mtarFilePath in commonPipelineEnviroment into account
...
This allows the steps to interact without using return values (which is not possible in
declarative pipelines). On the other hand we have depencencies between the steps based
on the status of the commonPipelineEnvironment.
2018-07-31 16:55:15 +02:00
Marcus Holl
f2e0e81802
Merge branch 'master' into fix/rolebackNeoDeployChange
2018-07-31 16:41:36 +02:00
Oliver Nocon
d844b23b90
add cloudFoundryDeploy step ( #173 )
...
* add cloudFoundryDeploy step
* added cf-cli docker image
* support existing parameters
* support check script with flexible STATUS_CODE
* add mandatory parameters
* fix compatibility handling
* address PR feedback
* fix access to smokeTest script
* make credentialsId mandatory to avoid NPE
2018-07-30 09:28:24 +02:00
Marcus Holl
d49a9ad68c
Revert "remove the tool descriptor from neo deploy"
...
This reverts commit c3c7d8b14280a7ee1304bc09617159e057f2f814.
2018-07-27 14:09:08 +02:00
Florian Wilhelm
0a86c8534d
Improve check for batch mode in mavenExecute ( #226 )
...
The old naive check fails if an argument starts with '-B'. Now we use a
regular expression, which should correctly match if batch mode was
already supplied, and add it if not.
2018-07-26 16:03:05 +02:00
rodibrin
9e547cd605
Merge branch 'master' into pr/neoimage
2018-07-26 10:04:20 +02:00
Roland Stengel
c3c7d8b142
remove the tool descriptor from neo deploy
2018-07-25 15:23:56 +02:00
Marcus Holl
f16d5c766b
Merge remote-tracking branch 'github/master' into HEAD
2018-07-25 12:26:20 +02:00
Christopher Fenner
aa57127e84
Merge branch 'master' into pr/readNestedProperties
2018-07-25 09:49:33 +02:00
Marcus Holl
411fd7fe62
Access to nested properties
...
yaml configuration supports nested properties. With this change
we can read those nested properties.
2018-07-25 09:47:16 +02:00
Marcus Holl
2a851abdfd
Merge remote-tracking branch 'github/master' into HEAD
2018-07-23 09:41:02 +02:00
Marcus Holl
b65a5d5699
Release transport request: decouple tests
...
Focus on only one class under test, not having the step and the util class under
test at once.
2018-07-23 09:39:40 +02:00
Marcus Holl
43a9dcbcfd
Do not fail immediatly in case commit history does not contain a changeDocumentId
...
we emit a log message and fail later at withManadotoryProperty check.
2018-07-19 10:26:34 +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
46f6587a97
Merge remote-tracking branch 'github/master' into HEAD
2018-07-19 09:17:07 +02:00
Marcus Holl
3effe404b0
Merge remote-tracking branch 'github/master' into HEAD
2018-07-19 08:54:57 +02:00
Marcus Holl
0678019efb
Merge remote-tracking branch 'github/master' into HEAD
2018-07-18 12:49:41 +02:00
Marcus Holl
ab0a0c6882
Introduce CredentialsRule
...
Instead of configuring the credentials setup
o withCredentials
o usename
in each of our tests (for the moment change-management related)
we collect the common coding in a JUnitRule.
2018-07-18 12:45:30 +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
3e3af733f2
Merge remote-tracking branch 'github/master' into pr/fixExceptionMessage
2018-07-18 11:45:48 +02:00
Roland Stengel
4851ba94bf
drop NEO version verification - remove neo version check
2018-07-18 09:46:11 +02:00
Roland Stengel
38360f1d0c
drop NEO version verification - introduce getVersion
2018-07-17 20:56:31 +02:00
Marcus Holl
9b4d55d0d9
switch to nested configuration for change management related steps
2018-07-17 16:41:42 +02:00
Marcus Holl
1e23a9ba3e
Merge remote-tracking branch 'mholl/pr/readNestedProperties' into HEAD
2018-07-17 11:22:23 +02:00
Marcus Holl
4b2ee0d4ad
[fix] Excpetion message contains config key instead of value.
2018-07-17 10:08:47 +02:00
Marcus Holl
4f8f7be6aa
Access to nested properties
...
yaml configuration supports nested properties. With this change
we can read those nested properties.
2018-07-16 17:26:22 +02:00
Marcus Holl
83e757475a
Merge remote-tracking branch 'github/master' into HEAD
2018-07-16 12:09:49 +02:00
Marcus Holl
b72cb656d5
Merge remote-tracking branch 'github/master' into HEAD
2018-07-16 11:15:22 +02:00
Marcus Holl
7482b58dc2
UploadFileToTransport: Read transportRequestId from commit history
2018-07-16 10:28:59 +02:00
Marcus Holl
bb0e9b92ce
transport request upload file: decouple tests.
2018-07-13 16:09:51 +02:00
Marcus Holl
0337b34cef
[whitespace only] increase readability
2018-07-13 14:40:54 +02:00
Marcus Holl
254a4e2017
Remove unused sh registerAllowedMethod
...
registerAllowedMethod for sh call not used anymore since we mock the ChangeManagement utils class.
The sh calls was triggered from the utils class. Since we mock that class, there is no sh call
anymore.
2018-07-13 13:23:10 +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
8d60a81ec5
Read transportId from commit history: split getChangeID method
2018-07-12 14:17:33 +02:00
Marcus Holl
c9572d187b
Merge remote-tracking branch 'github/master' into HEAD
2018-07-12 13:23:00 +02:00
Marcus Holl
52052cc99d
Merge pull request #196 from marcusholl/transportRequestCreateChangeDocumentIdFromCommitHistory
...
transportRequestCreate: retrieve changeDocumentId from commit history
2018-07-12 13:14:34 +02:00
Marcus Holl
3cb8912456
Merge pull request #180 from marcusholl/pr/supportCmClientOptsUploadFileToTransport
...
Support CM clientOpts for uploadFileToTransport
2018-07-12 10:16:07 +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