1
0
mirror of https://github.com/SAP/jenkins-library.git synced 2024-12-14 11:03:09 +02:00
Commit Graph

778 Commits

Author SHA1 Message Date
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
Christopher Fenner
c5d3ed7ab8
add condition to withMandatoryProperty 2018-07-31 15:42:27 +02:00
Marcus Holl
fb431ff27e [fix] provided nested config for retrieving transport request id in upload file 2018-07-31 10:25:32 +02:00
Oliver Nocon
745b6d471d
fix issue with resource naming conflict (#234) 2018-07-30 12:06:35 +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 c3c7d8b142.
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
770657d963
Merge pull request #229 from rodibrin/pr/neoimage
Remove tool descriptor from neo deploy and config the neo docker image
2018-07-26 10:10:33 +02:00
rodibrin
9e547cd605
Merge branch 'master' into pr/neoimage 2018-07-26 10:04:20 +02:00
Roland Stengel
b7e355bca8 config neo docker image 2018-07-25 15:23:56 +02:00
Roland Stengel
c3c7d8b142 remove the tool descriptor from neo deploy 2018-07-25 15:23:56 +02:00
Marcus Holl
5b8dd91510
Merge pull request #219 from marcusholl/pr/nestedConfig
nested config for changeManagment related steps
2018-07-25 12:32:26 +02:00
Marcus Holl
f16d5c766b Merge remote-tracking branch 'github/master' into HEAD 2018-07-25 12:26:20 +02:00
Marcus Holl
00a2e088af
Merge pull request #216 from marcusholl/pr/readNestedProperties
read nested properties
2018-07-25 09:53:32 +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
339226f304
Merge pull request #223 from marcusholl/pr/fixDoNotFailInCaseCommitHistoryDoesNotContainChangeDocumentId
Do not fail immediatly in case commit history does not contain a chan…
2018-07-23 09:46:53 +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
8563df62dd
Merge pull request #222 from marcusholl/pr/fixRemoveEarlyCheckForChangeDocumentId
[fix] Remove early check for mandatory param 'changeDocumentId'
2018-07-20 09:25:38 +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
d2a16f2ded
Merge pull request #211 from marcusholl/pr/IntroduceCredentialsRule
Introduce CredentialsRule
2018-07-19 09:22:05 +02:00
Marcus Holl
46f6587a97 Merge remote-tracking branch 'github/master' into HEAD 2018-07-19 09:17:07 +02:00
Marcus Holl
101ca2dba0
Merge pull request #205 from marcusholl/pr/transportRequestUploadFileTransportRequestIdFromCommitHistory
Pr/transport request upload file transport request id from commit history
2018-07-19 09:13:02 +02:00
Marcus Holl
3effe404b0 Merge remote-tracking branch 'github/master' into HEAD 2018-07-19 08:54:57 +02:00
Marcus Holl
5609283a10
Merge pull request #212 from marcusholl/pr/decoupleTests
decouple tests
2018-07-18 12:56:43 +02:00
Marcus Holl
0678019efb Merge remote-tracking branch 'github/master' into HEAD 2018-07-18 12:49:41 +02:00
Marcus Holl
3bd07e40f7
Merge pull request #206 from marcusholl/pr/transportRequestReleaseTransportRequestIdFromCommitHistory
Pr/transport request release transport request id from commit history
2018-07-18 12:47:54 +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
3f877c237c
Merge pull request #198 from marcusholl/transportRequestReleaseChangeDocumentIdFromCommitHistory
transportRequestRelease: get changeDocumentId from commit history
2018-07-18 12:31:37 +02:00
Marcus Holl
9d9c17d937 Merge remote-tracking branch 'github/master' into HEAD 2018-07-18 12:23:34 +02:00
Marcus Holl
b36ece463e
Merge pull request #217 from marcusholl/pr/fixExceptionMessage
[fix] Excpetion message contains config key instead of value.
2018-07-18 11:51:13 +02:00
Marcus Holl
3e3af733f2 Merge remote-tracking branch 'github/master' into pr/fixExceptionMessage 2018-07-18 11:45:48 +02:00
rodibrin
675c14810d
Merge pull request #220 from rodibrin/pr/neodropversioncheck
Remove the NEO version check
2018-07-18 09:52:00 +02:00
Roland Stengel
4851ba94bf drop NEO version verification - remove neo version check 2018-07-18 09:46:11 +02:00
Roland Stengel
b7a2a84e2d drop NEO version verification - decouple verifyversion from getversion 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
1c4595769d
Merge pull request #209 from marcusholl/pr/refactorGetMandatoryProperty
[refactor] re-use getConfigPropery inside getMandatoryProperty
2018-07-17 08:56:09 +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
bc13d1d969 Introduce getTransportRequestId in ChangeManagement utils 2018-07-16 10:15:27 +02:00
Marcus Holl
bb0e9b92ce transport request upload file: decouple tests. 2018-07-13 16:09:51 +02:00