Christopher Fenner
cd891acc97
remove println
2018-07-04 11:13:41 +02:00
Christopher Fenner
232705f58c
add tests
2018-07-03 14:39:20 +02:00
Christopher Fenner
12cf07a73d
align used node images
2018-07-03 14:22:22 +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
Marcus Holl
1a815c32cd
Merge pull request #165 from marcusholl/pr/scriptCallRuleWithRegex
...
Return a return value based on a regex comparism
2018-06-29 08:24:37 +02:00
Alejandra Ferreiro Vidal
ab8a1bb837
change credentialsId and endpoint
2018-06-28 16:24:14 +02:00
Marcus Holl
1493393805
Improve log message in case a call to cmclient for getting change status fails.
2018-06-28 15:37:14 +02:00
Marcus Holl
bdef708522
Assert logging
2018-06-28 15:37:14 +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
5d0ffa3e69
Make use of unified cmCommandLine
2018-06-28 15:37:13 +02:00
Marcus Holl
38c6d35adb
Introde getCMCommandLine
2018-06-28 15:37:13 +02:00
Marcus Holl
9d0eb79d94
filter null values from changeId array.
2018-06-28 15:37:13 +02:00
Marcus Holl
c494e33c1d
Tests for isChangeInDevelopment
2018-06-28 15:37:13 +02:00
Marcus Holl
37ba20d060
more tests
2018-06-28 15:37:13 +02:00
Marcus Holl
00304d67db
[refactoring] getting the gitUtils mock
2018-06-28 15:37:12 +02:00
Marcus Holl
cdb26e6b91
Introduce test for pipeline step checkChangeInDevelopment
2018-06-28 15:37:12 +02:00
Marcus Holl
9adad5ba37
Get changeDocumentId from git commits.
2018-06-28 15:37:12 +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
dd456f0d00
Return a return value based on a regex comparism
...
Comparism on plain string level gets complicated for complex commands and means
an implict check for an exact version of a command line. There are cases where
such an exact check is not desired, e.g. there is nothing wrong with having the
order of arguments variable.
2018-06-28 13:38:48 +02:00
Christopher Fenner
cd10eed0c3
fix test issue on Windows
2018-06-27 14:56:50 +02:00
Christopher Fenner
44ff690a77
fix test issue on Windows
2018-06-27 14:38:57 +02:00
Christopher Fenner
70f7e5a6fa
fix test issue on Windows
2018-06-27 14:28:16 +02:00
Christopher Fenner
251f731ca8
fix test issue on Windows
2018-06-27 14:19:40 +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
bc84497b24
remove obsolete parameter
2018-06-27 09:59:44 +02:00
Christopher Fenner
267f5f6936
use default image / workspace
2018-06-27 09:52:32 +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
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
e51b82e0ea
fix imports
2018-06-25 22:49:34 +02:00
Christopher Fenner
b891b36fbf
add further test case
2018-06-25 22:45:43 +02:00
Christopher Fenner
1c924cc8df
add test for MtaMultiplexer
2018-06-25 14:53:28 +02:00
Christopher Fenner
257308298d
extract map merging to MapUtils ( #156 )
...
* Update MapUtils.groovy
* Update ConfigurationMerger.groovy
* tests
* forward skipNull
* Fix indent in tests
* More tests.
* MapUtils simplified wrt deep merge and pruneNulls
* Add test for isMap with null value
2018-06-20 10:15:36 +02:00
Alejandra Ferreiro Vidal
fbefcfeffd
include special characters in mta.jar file namex
2018-06-12 19:12:08 +02:00
Marcus Holl
3499d4843c
GitUtils: Extract lines matching a pattern from a set of commits
...
In preparation of SOLMAN features. Here we need to get a change
document ID out of the commit message.
Start and end commit can be provided as well as a log format
and a filter condition.
2018-06-11 09:53:26 +02:00
Marcus Holl
599e8dedbc
Merge pull request #149 from marcusholl/pr/improveShellCallRuleReturnValues
...
fix: apply same script transformation when registering script and whe…
2018-06-11 09:49:52 +02:00
Marcus Holl
dd36e6ea5b
Merge pull request #152 from marcusholl/pr/neoDeployTestMoreTolerantWrtArgOrder
...
Make neo command line tests more tolerant wrt to order of args
2018-06-11 09:49:08 +02:00
Marcus Holl
3ae2d0ae47
Merge pull request #150 from marcusholl/pr/insideWorkingTree
...
git utils: is inside working tree
2018-06-11 09:46:51 +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
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
f8e5733486
speed up tests
...
* use new base class for testing
* initialize jenkins unit test framework only once for all test classes
* minor test cleanups
2018-06-06 11:19:19 +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
Oliver Nocon
e276f58573
fix tests
2018-05-30 12:58:52 +02:00
Thorsten Duda
2e2b43d68b
add missing file
2018-05-30 12:39:01 +02:00
Thorsten Duda
fed20184b4
fix maven execute test
2018-05-30 12:30:26 +02:00
Oliver Nocon
9d0e7eaf4e
add steps for file stashing
2018-05-30 12:00:13 +02:00