1
0
mirror of https://github.com/SAP/jenkins-library.git synced 2025-07-03 00:57:26 +02:00
Commit Graph

15 Commits

Author SHA1 Message Date
b51230139a Improve docs on new mavenExecute api (#1525) 2020-05-11 13:52:42 +02:00
eaf5479e9c Fix maven parameter handling (#1493)
Avoid maven error `Unknown lifecycle phase \"-\"` when the value of a define contains `-`.

Don't split and trim maven arguments. Expect they come in as a list, keep them as list.

This is a breaking change compared to the old Groovy implementation which relied on using a shell for calling maven.

As an example, consider this diff:

```diff
-        goals: 'org.apache.maven.plugins:maven-help-plugin:3.1.0:evaluate',
-        defines: "-Dexpression=$pomPathExpression -DforceStdout -q",
+        goals: ['org.apache.maven.plugins:maven-help-plugin:3.1.0:evaluate'],
+        defines: ["-Dexpression=$pomPathExpression", "-DforceStdout", "-q"],
```
2020-05-06 17:43:32 +02:00
fcc470271c More speaking name in doc wrt jenkins plugin deps 2019-05-24 15:44:31 +02:00
ca4e756317 Relocated dependency docu 2019-05-24 15:41:49 +02:00
50a62c9b3e Introduce label for Jenkins plugin dependencies 2019-05-21 16:15:11 +02:00
3d0aa51380 mavenExecute: generate docu 2019-04-02 22:03:23 +02:00
f757a0e1d4 fix Markdown issues (#365)
* fix Markdown issue 'Headers should be surrounded by blank lines'

* fix MD012

* fix MD022

* fix MD026

* fix MD007

* fix MD032

* fix MD038

* fix MD040

* fix MD031

* fix MD034

* fix MD004

* fix new findings

* fix MD036

* fix MD038

* fix MD032

* fix MD006
2018-11-06 13:50:09 +01:00
e4633c50ee Fix codeclimate remarks 2018-11-05 13:25:22 +01:00
f91d9aa1d0 Fix codeclimate remarks 2018-11-05 13:22:47 +01:00
74f28a19ef Fix codeclimate remarks 2018-11-05 13:20:41 +01:00
bb0953dab9 Fix codeclimate remarks 2018-11-05 12:59:40 +01:00
73c053ecdf Adjust docu: script is mandatory 2018-11-05 12:19:54 +01:00
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
fe6cc8867a add new configuration documentation 2018-03-09 10:27:28 +01:00
22ee06dc17 Enable configuration via yaml file + mavenExecute as example (#18)
* Enable configuration via yaml file
* Add documentation 
* Add tests
2017-12-06 12:03:06 +01:00