1
0
mirror of https://github.com/SAP/jenkins-library.git synced 2025-01-04 04:07:16 +02:00
Jenkins shared library for Continuous Delivery pipelines.
Go to file
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
.github Build go binary without debug symbols (#1618) 2020-06-02 12:32:29 +02:00
.hooks
.pipeline
cfg
cmd Run artifactPrepareVersion in maven container if necessary (#1634) 2020-06-08 17:08:05 +02:00
consumer-test
contrib
documentation Run artifactPrepareVersion in maven container if necessary (#1634) 2020-06-08 17:08:05 +02:00
integration Provide a timeout of 20m for the go Integration Tests (#1613) 2020-05-28 18:28:38 +02:00
pkg Provide an ExecRunner implementation for running commands in docker (#1606) 2020-06-02 14:24:06 +02:00
resources Run artifactPrepareVersion in maven container if necessary (#1634) 2020-06-08 17:08:05 +02:00
src/com/sap/piper Fix: yaml util handling for boolean with value false (#1629) 2020-06-04 06:03:12 +02:00
template
test Use go-based npmExecuteScripts, mavenBuild in buildExecute (#1622) 2020-06-04 17:53:06 +02:00
vars Run artifactPrepareVersion in maven container if necessary (#1634) 2020-06-08 17:08:05 +02:00
.codeclimate.yml
.editorconfig
.gitignore
config.toml
DEVELOPMENT.md
Dockerfile
go.mod Automated go dependency update (#1630) 2020-06-04 13:52:19 +02:00
go.sum Automated go dependency update (#1630) 2020-06-04 13:52:19 +02:00
LICENSE
main.go
NOTICE
pom.xml
README.md

Build Status Maintainability Test Coverage

Project Piper Repository

The Project "Piper" offers default pipelines to easily implement CI/CD processes integrating SAP systems. The corresponding "Shared Library" provides a set of "steps" to build your own scenarios beyond defaults.

User Documentation

If you want to view the User Documentation of Project Piper please follow this Piper Pages Link.

Known Issues

A list of known issues is available on the GitHub issues page of this project.

How to obtain support

Feel free to open new issues for feature requests, bugs or general feedback on the GitHub issues page of this project.

Register to our google group in order to get updates or for asking questions.

Contributing

Read and understand our contribution guidelines before opening a pull request.

License

Copyright (c) 2019 SAP SE or an SAP affiliate company. All rights reserved. This file is licensed under the Apache Software License, v. 2 except as noted otherwise in the LICENSE file