Roland Stengel
4851ba94bf
drop NEO version verification - remove neo version check
2018-07-18 09:46:11 +02:00
Marcus Holl
9b4d55d0d9
switch to nested configuration for change management related steps
2018-07-17 16:41:42 +02:00
Marcus Holl
4b2ee0d4ad
[fix] Excpetion message contains config key instead of value.
2018-07-17 10:08:47 +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
63b0fd6f67
Merge remote-tracking branch 'github/master' into HEAD
2018-07-13 10:30:29 +02:00
Marcus Holl
b53e1ea539
Merge remote-tracking branch 'github/master' into HEAD
2018-07-13 08:55:15 +02:00
Christopher Fenner
153536f5d3
create collectionDisplayName inside of the step
2018-07-12 23:31:15 +02:00
Marcus Holl
3e01caf909
Merge remote-tracking branch 'github/master' into HEAD
2018-07-12 16:26:52 +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
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
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
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
Marcus Holl
c978d02532
Make use of decent helper function of configuration helper
2018-07-11 11:55:19 +02:00
Marcus Holl
3ddac5633d
Introduce dedicated variable for script
2018-07-11 11:55:19 +02:00
Marcus Holl
a4f62e6f6e
Merge pull request #182 from marcusholl/pr/supportCmClientOptsForReleaseTransport
...
Support cmClientOpts for releasing a transport
2018-07-11 11:50:34 +02:00
Marcus Holl
cada0e7882
transportRequestCreate: retrieve changeDocumentId from commit history
2018-07-10 16:41:43 +02:00
Marcus Holl
a7ea15ac58
transportRequestUploadFile: retrieveChangeDocumentId from commit history
2018-07-10 16:40:26 +02:00
Marcus Holl
4a9c0695ca
transportRequestRelease: get changeDocumentId from commit history
2018-07-10 16:34:42 +02:00
Marcus Holl
5e09e2fb88
No forwarding of config map in to ChangeManagement class.
2018-07-10 12:30:31 +02:00
Marcus Holl
bb2ed27c10
Switch from gitLabel to gitChangeDocumentLabel
...
since we will have two labels in future. One for scanning changeDocumentIds and
another one for scanning transportRequestIds
2018-07-10 11:15:09 +02:00
Marcus Holl
71ca78e0a9
Switch from git_xxx to gitXxx like properties
2018-07-10 11:14:43 +02:00
Marcus Holl
6d78a9c6a3
Support cmClientOpts for releasing a transport
2018-07-09 16:02:08 +02:00
Marcus Holl
74b6ac0c8e
Support cmclient_opts in transportRequestCreate
2018-07-09 15:41:13 +02:00
Marcus Holl
d8d2249862
Support cmclientOpts for uploadFileToTransport
2018-07-09 09:40:07 +02:00
Marcus Holl
44cee0475d
Merge pull request #176 from marcusholl/pr/decoupleTests
...
Pr/decouple tests
2018-07-06 13:09:44 +02:00
Marcus Holl
cf09b45025
Merge pull request #161 from marcusholl/marcusholl/pr/landscapeConfigLayer
...
Provide configuration layer for custom configuration
2018-07-06 12:47:52 +02:00
Christopher Fenner
d2e023f512
Update newmanExecute.groovy
2018-07-04 15:01:12 +02:00
Christopher Fenner
af753d3c54
build new config on the fly
2018-07-04 11:12:32 +02:00
Christopher Fenner
0d5e49e9d4
fix echo
2018-07-03 17:01:22 +02:00
Christopher Fenner
2f0dce1a5e
Update prepareDefaultValues.groovy
2018-07-03 17:01:22 +02:00
Marcus Holl
22b6dd63f6
Merge custom defaults with library defaults.
2018-07-03 17:01:22 +02:00
Marcus Holl
c29fb02dd9
wip
2018-07-03 17:01:22 +02:00
Christopher Fenner
7ce0c85fe9
only merge lists
2018-07-03 17:01:22 +02:00
Christopher Fenner
3ebe599f52
merge custom default configuration
2018-07-03 17:01:22 +02:00
Marcus Holl
bb811afa41
Provide configuration layer for custom configuration
2018-07-03 17:01:22 +02:00
Christopher Fenner
637eb84396
add new step for Postman test execution
2018-07-03 14:16:17 +02:00
Marcus Holl
d270a2d232
Decouple tests: transport request upload file
2018-06-29 10:53:47 +02:00
Marcus Holl
5a73af4c02
Decouple tests: transport request create
2018-06-29 10:15:20 +02:00
Alejandra Ferreiro Vidal
cc9332ae79
Merge pull request #175 from alejandraferreirovidal/changeParameters
...
change credentialsId and endpoint
2018-06-29 10:12:58 +02:00
Marcus Holl
3766bf4794
Merge pull request #166 from marcusholl/cm
...
isChangeInDevelopment
2018-06-29 08:25:15 +02:00
Alejandra Ferreiro Vidal
ab8a1bb837
change credentialsId and endpoint
2018-06-28 16:24:14 +02:00
Marcus Holl
7eba5b6915
Provide method for retrieving changeDocumentId from config or via git commits.
2018-06-28 15:37:13 +02:00
Marcus Holl
6d943d2005
Support CMCLIENT_OPTS
...
needed e.g. for providing a trust store.
2018-06-28 15:37:13 +02:00
Marcus Holl
2465fcb3dd
introduce step isChangeInDevelopment
2018-06-28 15:37:11 +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
Marcus Holl
95520331e1
Merge pull request #168 from SAP/CCFenner/snykExecute
...
add step for snyk open source vulnerability scan
2018-06-27 10:11:34 +02:00
Christopher Fenner
7058661f9f
remove obsolete parameter
2018-06-27 10:02:02 +02:00
Christopher Fenner
dbcf87ffcc
rename exclude parameter
2018-06-26 16:08:03 +02:00
Christopher Fenner
6bcf17c70a
add snyk html report
2018-06-26 16:05:43 +02:00
Christopher Fenner
b44ebf99d1
add snyk html report
2018-06-26 16:00:26 +02:00
Christopher Fenner
957ca11d7b
add snyk html report
2018-06-26 15:47:46 +02:00
Christopher Fenner
f9d4fbda53
correct step name
2018-06-26 15:34:32 +02:00
Christopher Fenner
426f23b232
add step tests
2018-06-26 15:08:46 +02:00
Christopher Fenner
a448698427
fix method name
2018-06-26 13:18:21 +02:00
Christopher Fenner
89d6e13d00
fix method name
2018-06-26 13:17:12 +02:00
Alejandra Ferreiro Vidal
4464c9427b
add step transportRequestRelease
2018-06-26 10:40:08 +02:00
Alejandra Ferreiro Vidal
12652be421
add step transportRequestUploadFile
2018-06-26 10:40:07 +02:00
Alejandra Ferreiro Vidal
e34f99deac
add step transportRequestCreate
2018-06-26 10:40:06 +02:00
Christopher Fenner
394aaa6577
fix typo
2018-06-25 14:53:59 +02:00
Christopher Fenner
3f4069ade6
add step for Snyk scan execution
2018-06-25 13:14:46 +02:00
Marcus Holl
06370ee6c2
Merge pull request #137 from marcusholl/pr/streamlineNeoDeployCommandConcat
...
Pr/streamline neo deploy command concat
2018-06-11 10:28:54 +02:00
Daniel Kurzynski
322a437763
Revert "Merge branch 'master' of https://github.com/SAP/jenkins-library "
...
This reverts commit 65220efb4e
, reversing
changes made to cf17510641
.
2018-06-08 11:55:38 +02:00
Ramachandra Kamath Arbettu
d78dc454fb
Support K8S execution
2018-06-07 13:58:32 +02:00
Ramachandra Kamath Arbettu
ed57a8f18a
Merge branch 'feature/k8s' of https://github.com/SAP/jenkins-library
2018-06-07 13:18:16 +02:00
Ramachandra Kamath Arbettu
646a51556a
Merge branch 'master' of https://github.com/SAP/jenkins-library
2018-06-07 13:18:08 +02:00
Ramachandra Kamath Arbettu
e3787f4450
Update dockerExecute.groovy
2018-06-07 13:04:53 +02:00
Ramachandra Kamath Arbettu
e612cd1fa2
Update dockerExecute.groovy
2018-06-07 12:08:28 +02:00
Ramachandra Kamath Arbettu
259cc9bfeb
Update dockerExecute.groovy
2018-06-07 12:07:16 +02:00
Florian Wilhelm
6dc13801b0
Disable download logs in Maven by default ( #159 )
...
Disable download logs in Maven by default
This commit adds a flag to Maven by default, which disables the messages
like "Downloading from central".
The logger is set to level "warn", so errors will still be visible, but
successful messages won't clutter logs anymore.
This option is also set by default in the GitLab CI template file for
maven.
See [1] for reference on the option.
1: https://stackoverflow.com/a/35653426/8843830
2018-06-06 14:42:47 +02:00
Oliver Nocon
96cc75d72a
pipelineStashFiles - cleanup & documentation
...
This contains some cleanups to the code
plus documentation for the step
2018-06-01 12:33:06 +02:00
Ramachandra Kamath Arbettu
5dcab59d68
Merge branches 'feature/k8s' and 'master' of https://github.com/SAP/jenkins-library
2018-06-01 09:18:51 +02:00
Ramachandra Kamath Arbettu
9b2ec38412
Update dockerExecute.groovy
2018-05-31 15:57:41 +02:00
Ramachandra Kamath Arbettu
d30bfa3dd9
Update dockerExecute.groovy
2018-05-31 15:49:23 +02:00
Oliver Nocon
550968d406
remove obsolete coding
2018-05-30 13:03:25 +02:00
Oliver Nocon
9d0e7eaf4e
add steps for file stashing
2018-05-30 12:00:13 +02:00
Marcus Holl
097b9a4455
Better speaking variable name
2018-05-28 13:40:33 +02:00
Marcus Holl
b092957f7d
put source parameter into common parameters
2018-05-28 13:40:33 +02:00
Marcus Holl
cb9318814c
Condence more common code
2018-05-28 13:38:34 +02:00
Marcus Holl
7c83311715
reduce redundant parts when contatenating neo deploy script.
2018-05-28 13:38:34 +02:00
Marcus Holl
2a4b3b88aa
use variable 'warAction' also for mta deployments.
2018-05-28 13:38:34 +02:00
Alejandra Ferreiro Vidal
8b374bcfb6
Merge pull request #142 from alejandraferreirovidal/addMultipleVersionsVerification
...
Add multiple versions verification
2018-05-24 17:06:17 +02:00
Alejandra Ferreiro Vidal
51b2241b2f
Merge pull request #100 from SAP/removeFetchUrl
...
remove fetchUrl Step
2018-05-24 14:39:18 +02:00
Alejandra Ferreiro Vidal
ea889934bd
add multiple versions verification for neoDeploy
2018-05-24 14:12:14 +02:00
Ramachandra Kamath Arbettu
793e0991c7
POC K8S
2018-05-15 14:47:59 +02:00
Ramachandra Kamath Arbettu
3b17287b8e
POC K8S
2018-05-15 09:08:09 +02:00
Ramachandra Kamath Arbettu
fab4dd2d44
POC K8S
2018-05-15 09:02:05 +02:00
Ramachandra Kamath Arbettu
9fdbf8631c
POC K8S
2018-05-15 08:59:07 +02:00
Ramachandra Kamath Arbettu
dca6693d62
POC K8S
2018-05-14 17:11:27 +02:00
Ramachandra Kamath Arbettu
0d1ec28b9e
POC K8S
2018-05-14 17:09:22 +02:00
Ramachandra Kamath Arbettu
0f1ca24b27
POC K8S
2018-05-14 16:53:13 +02:00
Alejandra Ferreiro Vidal
e7b84345ae
add file name and extension to mtaJarLocation
...
Adds the file name and extension to the mtaJarLocation to make the SAP
Multitarget Archive Builder jar file configurable.
2018-04-26 16:17:54 +02:00
Marcus Holl
651a11f5d9
Merge pull request #136 from marcusholl/pr/useGroovyInIncreaseReadability
...
Pr/use groovy in increase readability
2018-04-24 09:48:11 +02:00
Daniel Kurzynski
3d5a97ab71
Annotate docker plugin check as non cps ( #134 )
2018-04-20 12:59:17 +02:00
Marcus Holl
62fee7a63c
[refactoring] increase readability: warAction
2018-04-20 12:25:15 +02:00
Marcus Holl
73abb0ee99
[refactoring] increase readability: vmSize
2018-04-20 12:24:37 +02:00