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
44cee0475d
Merge pull request #176 from marcusholl/pr/decoupleTests
...
Pr/decouple tests
2018-07-06 13:09:44 +02:00
Marcus Holl
aa900d7dcf
withMandatoryParameter supports a error message from the caller
2018-06-29 11:15:37 +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
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
9adad5ba37
Get changeDocumentId from git commits.
2018-06-28 15:37:12 +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
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
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
e276f58573
fix tests
2018-05-30 12:58:52 +02:00
Marcus Holl
4ca3236ba4
general default section mixed in automatically.
2018-05-30 10:53:21 +02:00
Alejandra Ferreiro Vidal
53e5c0fe6b
add multiple versions verification tests
2018-05-24 14:12:14 +02:00
Alejandra Ferreiro Vidal
3c59ac4454
Merge pull request #143 from alejandraferreirovidal/compatibilityCode
...
compatibility code for new feature
2018-05-24 14:03:23 +02:00
Marcus Holl
d7cfddd182
git utils: is inside working tree
2018-05-11 15:19:43 +02:00
Marcus Holl
e61f16abfb
Check if inside git repo via rev-parse --is-inside-work-tree
...
This approach works also in case we are in a subdirectory of the git repo,
e.g. in the closure of a dir statement.
The decission is delegate to git rather than using internal knowledge
about git file names. Well, the directory will be always named '.git',
but nevertheless ...
May endup in a false positive in case we did not clone a repo AND there
is another git repo somewhere upwards in the file system. Maybe some
other git repo is located upstairs containing e.g. the jenkins setup.
The advantage of working also for subdirectories outweights the disadvantage
for the false positive. It is not likely that we have to deal with another
git repo upstairs, since the pipeline script is expected to be located in
the payload git repo. A phantom repo upstairs looks like a pure academical
discussion.
2018-05-11 10:04:18 +02:00
Daniel Kurzynski
e8fb41aab6
Add configuration support for postActions ( #135 )
2018-05-07 10:50:21 +02:00
Alejandra Ferreiro Vidal
9892bff907
compatibility code for new feature
2018-05-04 11:52:51 +02:00
Alejandra Ferreiro Vidal
407b71441c
improve log
2018-04-26 18:02:17 +02:00
Alejandra Ferreiro Vidal
3bf3b49880
improve message and add test
2018-04-26 17:29:26 +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
Alejandra Ferreiro Vidal
a8a9281093
Merge pull request #138 from alejandraferreirovidal/addToolDescriptorTest
...
add ToolDescriptorTest
2018-04-25 17:45:55 +02:00
Alejandra Ferreiro Vidal
ce8f66bd12
add ToolDescriptorTest
2018-04-24 15:05:17 +02:00
Marcus Holl
afcb8f2c3f
Merge pull request #133 from marcusholl/pr/fixPackageDeclaration
...
Fix wrong package declaration
2018-04-24 09:57:04 +02:00
Daniel Kurzynski
540e8c36db
Fix merging if default values do not exist ( #130 )
2018-04-23 13:41:22 +02:00
Marcus Holl
3e64f4a130
Fix wrong package declaration
2018-04-20 10:59:32 +02:00
Alejandra Ferreiro Vidal
64b45a13c4
review
2018-04-12 14:25:28 +02:00
Alejandra Ferreiro Vidal
2eafecf38d
check tool on PATH
2018-04-10 10:26:55 +02:00
Alejandra Ferreiro Vidal
60d1b007a8
add JavaArchiveDescriptor
2018-04-10 10:26:45 +02:00