1
0
mirror of https://github.com/SAP/jenkins-library.git synced 2024-12-14 11:03:09 +02:00
sap-jenkins-library/test/groovy/com/sap/piper
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
..
analytics influxWriteData: hold data in dedicated object (#624) 2019-04-11 11:39:41 +02:00
cm commonPipelineEnvironment: add propertiesMap (#526) 2019-04-10 10:56:36 +02:00
integration Provide response from tms file upload also in case of rc outside 2xx (#1297) 2020-04-06 10:13:10 +02:00
k8s remove semikolons 2019-05-23 14:28:32 +02:00
mta Test platform interoperability 2019-12-16 10:03:34 +01:00
tools/neo Add extensions to neoDeploy 2019-05-16 09:13:23 +02:00
variablesubstitution Variable Substitution in YAML Files (#852) 2019-09-06 10:20:35 +02:00
versioning Use stable version for setting maven version (#1332) 2020-04-03 18:16:58 +02:00
BashUtilsTest.groovy Improve neo deploy (#440) 2019-01-28 11:32:24 +01:00
CfManifestUtilsTest.groovy Implement workaround for incompatible change in cloud foundry API (#343) 2018-10-17 11:01:09 +02:00
ConfigurationHelperTest.groovy Revert "ConfigurationLoader, ConfigurationHelper working without script reference" 2019-11-26 10:51:32 +01:00
ConfigurationLoaderTest.groovy Revert "ConfigurationLoader, ConfigurationHelper working without script reference" 2019-11-26 10:51:32 +01:00
ConfigurationMergerTest.groovy use new config handler in steps (#253) 2018-08-15 11:53:28 +02:00
DebugReportTest.groovy Implement archiving the debug report as step (#1152) 2020-02-07 16:30:08 +01:00
DescriptorUtilsTest.groovy Patch Urls (#929) 2019-11-11 17:40:23 +01:00
DockerUtilsTest.groovy Add step buildExecute (#527) 2019-07-02 13:00:36 +02:00
EnvironmentUtilsTest.groovy Added EnvironmentUtils needed by DebugReport 2020-02-03 17:07:56 +01:00
GitUtilsTest.groovy Better readable rule names: loggingRule 2019-01-23 14:54:50 +01:00
JenkinsUtilsTest.groovy Protecode as GoLang (#1119) 2020-02-06 16:16:34 +01:00
MapUtilsTest.groovy Clarify precedence in MapUtils#merge() (#983) 2019-11-14 14:33:23 +01:00
MtaUtilsTest.groovy Update mta yaml file to support cloud MBT mtar deploy to neo. (#1198) 2020-02-20 14:57:50 +01:00
PiperGoUtilsTest.groovy More resilient handling of download errors for piper bin (#1147) 2020-02-12 09:02:39 +01:00
PrerequisitesTest.groovy Better readable rule names: loggingRule 2019-01-23 14:54:50 +01:00
UtilsTest.groovy remove utils.getMandatoryParameter() 2019-04-09 16:25:25 +02:00
WhitesourceConfigurationHelperTest.groovy whitesourceExecuteScan: Add scanType dub 2019-07-11 06:17:30 +02:00