1
0
mirror of https://github.com/SAP/jenkins-library.git synced 2024-12-14 11:03:09 +02:00
Jenkins shared library for Continuous Delivery pipelines.
Go to file
Marcus Holl 4b93dc5db7
Provide response from tms file upload also in case of rc outside 2xx (#1297)
* Provide response from tms file upload also in case of return codes outside 2xx

* Update src/com/sap/piper/integration/TransportManagementService.groovy

Co-Authored-By: Oliver Feldmann <oliver.feldmann@sap.com>

* Update src/com/sap/piper/integration/TransportManagementService.groovy

Co-Authored-By: Oliver Feldmann <oliver.feldmann@sap.com>

* consider re-running in verbose mode only if we are not in verbose mode

* Add missing script reference when calling error

* avoid curl --fail in order to get also a response in case of 4xx 5xx

* add missing write-out

* --output instead of -o

* fix syntax errors

* fix codeclimat issue

* fix unit tests /1

* Adjust unit tests

* More unit tests

* Use other texts in verbose mode and non verbose mode in case of a failure

in order to avoid issue with hanging log messages surviving a test case (... should not be the case).

For the non verbose mode we check the http response code since there is not message we can check.

* Now with the full comment explaining the 418

* Provide different responses for verbose and non-verbose mode

in order to distinguish the cases

Co-authored-by: Oliver Feldmann <oliver.feldmann@sap.com>
2020-04-06 10:13:10 +02:00
.github Allow to trigger release manually (#1359) 2020-04-03 16:26:53 +02:00
.hooks chore(go): add pre-commit hook (#1006) 2019-11-27 21:16:01 +01:00
.pipeline Configure GitHub Release (#1299) 2020-03-20 14:01:49 +01:00
cfg Deploy mkdocs when merging to master 2018-03-12 09:58:32 +01:00
cmd Relax requirements for maven projects in nexus upload (#1348) 2020-04-03 21:32:38 +02:00
consumer-test Build piper binary in Consumer Tests (#1240) 2020-03-04 13:27:27 +01:00
contrib Allow to trigger release manually (#1359) 2020-04-03 16:26:53 +02:00
documentation Generate documentation for nexusUpload (#1356) 2020-04-01 23:48:51 +02:00
integration Relax requirements for maven projects in nexus upload (#1348) 2020-04-03 21:32:38 +02:00
pkg Relax requirements for maven projects in nexus upload (#1348) 2020-04-03 21:32:38 +02:00
resources Relax requirements for maven projects in nexus upload (#1348) 2020-04-03 21:32:38 +02:00
src/com/sap/piper Provide response from tms file upload also in case of rc outside 2xx (#1297) 2020-04-06 10:13:10 +02:00
template remove !#groovy header 2019-05-23 10:37:28 +02:00
test Provide response from tms file upload also in case of rc outside 2xx (#1297) 2020-04-06 10:13:10 +02:00
vars nexusUpload: Remove config processing from Groovy layer (#1364) 2020-04-04 11:44:02 +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 Add step to prepare the version for an artifact (#1343) 2020-04-03 16:34:40 +02:00
.travis.yml Release go-binary via piper action (#1243) 2020-03-11 16:58:56 +01:00
config.toml Add revive config for proper linting 2020-02-26 09:44:18 +01:00
DEVELOPMENT.md Allow to trigger release manually (#1359) 2020-04-03 16:26:53 +02:00
Dockerfile Add tag release when building go binary 2020-02-27 15:01:37 +01:00
go.mod Add step to prepare the version for an artifact (#1343) 2020-04-03 16:34:40 +02:00
go.sum Add step to prepare the version for an artifact (#1343) 2020-04-03 16:34:40 +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