1
0
mirror of https://github.com/SAP/jenkins-library.git synced 2024-12-12 10:55:20 +02:00
sap-jenkins-library/integration/piper-command-wrapper.sh
Florian Wilhelm 219327a427
Rewrite mta IT using docker cli (#1819)
This change addresses some issues of the testcontainer based testing approach (much repeated code, API not on the right abstraction level). It introduces new methods that make use of the docker cli, and rewrites the mta tests using this method.


Co-authored-by: Stephan Aßmus <stephan.assmus@sap.com>
2020-07-20 18:07:08 +02:00

7 lines
284 B
Bash

#!/bin/sh
# The purpose of this script is to run the binary inside a test container and to ensure its output is stored for assertions
# This is not very elegant, but I have so far not found a better way to save output of a command run via "docker exec"
"$@" >/tmp/test-log.txt 2>&1