1
0
mirror of https://github.com/SAP/jenkins-library.git synced 2024-12-14 11:03:09 +02:00
sap-jenkins-library/integration/piper-command-wrapper.sh

7 lines
284 B
Bash
Raw Normal View History

#!/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