1
0
mirror of https://github.com/SAP/jenkins-library.git synced 2024-11-28 08:49:44 +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 chore(go): add pre-commit hook (#1006) 2019-11-27 21:16:01 +01:00
.pipeline Run automated go dependency update once a month (#1464) 2020-04-29 16:28:57 +02:00
cfg Deploy mkdocs when merging to master 2018-03-12 09:58:32 +01:00
cmd Run artifactPrepareVersion in maven container if necessary (#1634) 2020-06-08 17:08:05 +02:00
consumer-test Fix integration tests on master (#1440) 2020-04-22 16:41:43 +02:00
contrib Allow to trigger release manually (#1359) 2020-04-03 16:26:53 +02:00
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 remove !#groovy header 2019-05-23 10:37:28 +02:00
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 Add exclude patterns to codeclimate 2020-02-25 13:42:47 +01:00
.editorconfig Add golang implementation for karma tests (#919) 2019-10-25 14:58:59 +02:00
.gitignore Fortify implementation in golang (#1428) 2020-05-25 19:48:59 +02:00
config.toml Add revive config for proper linting 2020-02-26 09:44:18 +01:00
DEVELOPMENT.md Fix npm registry config (#1564) 2020-05-20 13:41:23 +02:00
Dockerfile Add tag release when building go binary 2020-02-27 15:01:37 +01:00
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 Initial commit 2017-10-17 16:14:48 -04:00
main.go Provide golang based Piper library (#915) 2019-10-24 10:59:58 +02:00
NOTICE Create NOTICE 2017-11-14 09:51:35 +01:00
pom.xml Protecode as GoLang (#1119) 2020-02-06 16:16:34 +01:00
README.md readme.md introduction 2019-06-11 15:06:34 +02:00

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