1
0
mirror of https://github.com/SAP/jenkins-library.git synced 2024-12-14 11:03:09 +02:00
sap-jenkins-library/resources
Stephan Aßmus 56699ab019
Run artifactPrepareVersion in maven container if necessary (#1634)
* The metadata for artifactPrepareVersion-go specifies a container for when the buildTool is maven.
* The alias to 'mavenExecute' was removed. The problem with this is that when a section containers is included in the metadata, dockerImage will always be picked up from mavenExecute, the conditional dependency on buildTool will not even be considered. Parameters such as m2Path, projectSettingsFile and globalSettingsFile should be configured in general/maven if necessary.
* When the step ends up being executed within dockerExecuteOnKubernetes, we need to preserve the .git folder. This folder would normally be excluded by the default excludes of the stash step. There was already a comment that suppressing this behavior by passing useDefaultExcludes: false was problematic (unfortunately without going into details), so I've added a new parameter to dockerExecute and dockerExecuteOnKubernetes named stashNoDefaultExcludes (note the reverted meaning to ease preserving the default behavior when this parameter is not provided). This parameter is passed to piperExecuteBin from the artifactPreferVersion groovy wrapper.
2020-06-08 17:08:05 +02:00
..
com.sap.piper Fix cloudFoundryDeploy config keys in Acceptance (#1296) 2020-04-03 11:03:00 +02:00
metadata Run artifactPrepareVersion in maven container if necessary (#1634) 2020-06-08 17:08:05 +02:00
schemas chore(go): add schema for go metadata files (#1052) 2019-12-17 12:45:53 +01:00
blueGreenCheckScript.sh fix issue with resource naming conflict (#234) 2018-07-30 12:06:35 +02:00
default_pipeline_environment.yml Use go-based npmExecuteScripts, mavenBuild in buildExecute (#1622) 2020-06-04 17:53:06 +02:00
piper-os.css Cleanup 2019-03-04 14:40:17 +01:00
template_mta.yaml Update mta yaml file to support cloud MBT mtar deploy to neo. (#1198) 2020-02-20 14:57:50 +01:00