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

442 Commits

Author SHA1 Message Date
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
rodibrin
a4935a1adc
Merge pull request #160 from SAP/speedUpTests
speed up tests
2018-06-06 11:27:22 +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
4ae3998458
Update pipelineStashFiles.md 2018-06-04 16:36:05 +02:00
Thorsten Duda
c392a9866e
Merge pull request #157 from SAP/stashFiles-doc
pipelineStashFiles - cleanup & documentation
2018-06-04 15:17:36 +02:00
Oliver Nocon
72461e2c7a fix typo in documentation 2018-06-04 14:50:40 +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
Thorsten Duda
6e6e26f809
Merge pull request #155 from SAP/stashFiles
add steps for file stashing
2018-05-30 14:19:14 +02:00
Oliver Nocon
550968d406 remove obsolete coding 2018-05-30 13:03:25 +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
Christopher Fenner
c53d87f75f
Merge pull request #154 from marcusholl/pr/configFrwkChanges
general default section mixed in automatically.
2018-05-30 11:05:52 +02:00
Marcus Holl
4ca3236ba4 general default section mixed in automatically. 2018-05-30 10:53:21 +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
ebfeba75a0 review: add log 2018-05-24 14:21:41 +02:00
Alejandra Ferreiro Vidal
ea889934bd add multiple versions verification for neoDeploy 2018-05-24 14:12:14 +02:00
Alejandra Ferreiro Vidal
53e5c0fe6b add multiple versions verification tests 2018-05-24 14:12:14 +02:00
Alejandra Ferreiro Vidal
bc6ce8b3ba add multiple versions verification 2018-05-24 14:12:01 +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
0d2af05a9a
Merge pull request #147 from marcusholl/pr/useGitRevParseForInsideGitRepoCheck
Check if inside git repo via rev-parse --is-inside-work-tree
2018-05-11 11:10:29 +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
Marcus Holl
6eefc251d1
Merge pull request #146 from marcusholl/pr/gitUtilsAvoidDuplicateShellCode
GitUtils: avoid duplicate shell code
2018-05-11 09:09:24 +02:00
Oliver Nocon
9e9de1fd6e
Bump Version 2018-05-09 11:09:15 +02:00
Marcus Holl
52eb583dce GitUtils: avoid duplicate shell code 2018-05-07 14:05:35 +02:00
Daniel Kurzynski
e8fb41aab6 Add configuration support for postActions (#135) 2018-05-07 10:50:21 +02:00
Florian Wilhelm
286a1f082e
Merge pull request #145 from SAP/return-types
Explicitly state return types fixes #144
2018-05-07 09:47:20 +02:00
Alejandra Ferreiro Vidal
9892bff907 compatibility code for new feature 2018-05-04 11:52:51 +02:00
Florian Wilhelm
dfa7b14d16 Explicitly state return types fixes #144 2018-05-04 11:34:51 +02:00
Alejandra Ferreiro Vidal
788e64c81f
Merge pull request #140 from alejandraferreirovidal/refactorValidateToolMethod
refactor validateTool on ToolValidateDescriptor
2018-05-03 11:32:32 +02:00
Alejandra Ferreiro Vidal
51b7de5641 refactor validateTool on ToolValidateDescriptor 2018-05-02 16:03:41 +02:00
Alejandra Ferreiro Vidal
9d7e801b40
Merge pull request #131 from alejandraferreirovidal/mtaJarFileConfigurable
add mtaJarName to make 'mta.jar' configurable
2018-05-02 13:59:27 +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
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
540e8c36db
Fix merging if default values do not exist (#130) 2018-04-23 13:41:22 +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
Marcus Holl
39d23d29fd [refactoring] increase readability: deployMode 2018-04-20 12:23:26 +02:00
Marcus Holl
3e64f4a130 Fix wrong package declaration 2018-04-20 10:59:32 +02:00
thorstenwillenbacher
48b816e028
Merge pull request #132 from alejandraferreirovidal/addExtensionToMtaBuild
add extension to mtaBuild
2018-04-18 16:38:52 +02:00
Alejandra Ferreiro Vidal
c04bc79976 add extension to mtaBuild 2018-04-17 17:35:10 +02:00
Alejandra Ferreiro Vidal
9971667af6
Merge pull request #129 from alejandraferreirovidal/bugfixMTA
bugfix: mtaJar includes java call
2018-04-12 15:42:26 +02:00