1
0
mirror of https://github.com/SAP/jenkins-library.git synced 2024-12-12 10:55:20 +02:00
sap-jenkins-library/src/com/sap/piper
Florian Wilhelm 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
..
analytics fix NonCPS issues (#796) 2019-07-29 10:17:56 +02:00
cm remove semikolons 2019-05-23 14:28:32 +02:00
integration TMS: Print response content for status codes 3xx in addition to 4xx and 5xx (#1441) 2020-04-23 09:46:25 +02:00
k8s Avoid NotSerializableException #3 (#1252) 2020-03-06 14:05:14 +01:00
mta Update MtaMultiplexer.groovy 2019-12-16 09:28:58 +01:00
tools/neo Merge remote-tracking branch 'github/master' into HEAD 2019-05-24 14:26:07 +02:00
variablesubstitution Variable Substitution in YAML Files (#852) 2019-09-06 10:20:35 +02:00
versioning Fix maven parameter handling (#1493) 2020-05-06 17:43:32 +02:00
API.groovy Improve 2019-01-23 10:16:11 +01:00
BashUtils.groovy Fix maven parameter handling (#1493) 2020-05-06 17:43:32 +02:00
CfManifestUtils.groovy Implement workaround for incompatible change in cloud foundry API (#343) 2018-10-17 11:01:09 +02:00
CloudPlatform.groovy add multicloud deploy step 2019-04-12 17:51:38 +02:00
ConfigurationHelper.groovy Revert "ConfigurationLoader, ConfigurationHelper working without script reference" 2019-11-26 10:51:32 +01:00
ConfigurationLoader.groovy Revert "ConfigurationLoader, ConfigurationHelper working without script reference" 2019-11-26 10:51:32 +01:00
ConfigurationMerger.groovy fix NonCPS issues (#796) 2019-07-29 10:17:56 +02:00
ConfigurationType.groovy Enable configuration via yaml file + mavenExecute as example (#18) 2017-12-06 12:03:06 +01:00
DebugReport.groovy Add option to always run stages in a pod (#1414) 2020-04-17 10:31:04 +02:00
DefaultValueCache.groovy Provide support for additional customer config layers. 2019-12-17 17:00:16 +01:00
DeploymentType.groovy add multicloud deploy step 2019-04-12 17:51:38 +02:00
DescriptorUtils.groovy Rename dlang to dub (#762) 2019-07-03 11:27:07 +02:00
DockerUtils.groovy Add step buildExecute (#527) 2019-07-02 13:00:36 +02:00
DownloadCacheUtils.groovy Implement npmExecuteScripts step (#1422) 2020-04-24 18:29:30 +02:00
EnvironmentUtils.groovy Added EnvironmentUtils needed by DebugReport 2020-02-03 17:07:56 +01:00
GenerateDocumentation.groovy Put GenerateDocumentation annotation inside groovy file 2019-01-23 16:19:34 +01:00
GenerateStageDocumentation.groovy Templates - Add advanced confirm stage (#720) 2019-05-22 10:42:59 +02:00
GitUtils.groovy [fix] Do not fail scanning for ChangeDocumentId/TransportRequestId in case of CR/LF 2019-11-22 16:38:03 +01:00
JenkinsUtils.groovy Protecode as GoLang (#1119) 2020-02-06 16:16:34 +01:00
JsonUtils.groovy githubPublishRelease - ensure proper JSON encoding (#807) 2019-07-26 14:03:20 +02:00
MapUtils.groovy Clarify precedence in MapUtils#merge() (#983) 2019-11-14 14:33:23 +01:00
MtaUtils.groovy Update mta yaml file to support cloud MBT mtar deploy to neo. (#1198) 2020-02-20 14:57:50 +01:00
PiperGoUtils.groovy Set piper exe version when under test (#1462) 2020-04-27 16:38:32 +02:00
Prerequisites.groovy Fix codeclimate remarks 2018-11-05 12:59:40 +01:00
QualityCheck.groovy Add ReportAggregator to collect information about executed stages and create reports (#1291) 2020-03-21 18:42:27 +01:00
QualityCheckCategory.groovy Add ReportAggregator to collect information about executed stages and create reports (#1291) 2020-03-21 18:42:27 +01:00
ReportAggregator.groovy Adapt paths to pipeline_report debug_report and maven_settings templates (#1311) 2020-03-23 20:01:58 +01:00
SidecarUtils.groovy Handle sidecar parameters in dockerExecuteOnKubernetes (#869) 2019-09-12 10:52:05 +02:00
StepAssertions.groovy Improve neo deploy (#440) 2019-01-28 11:32:24 +01:00
Utils.groovy Fix maven parameter handling (#1493) 2020-05-06 17:43:32 +02:00
WhitesourceConfigurationHelper.groovy Avoid using Iterators to get around NotSerializableException (#1220) 2020-02-25 12:25:26 +01:00