1
0
mirror of https://github.com/SAP/jenkins-library.git synced 2025-02-15 14:04:04 +02:00

touch flag file in case of test cases succeds

This commit is contained in:
Marcus Holl 2019-02-26 14:08:51 +01:00
parent 1da57c47d5
commit 52400d0760

View File

@ -24,4 +24,8 @@ git commit --all --author="piper-testing-bot <piper-testing-bot@example.com>" --
docker run -v /var/run/docker.sock:/var/run/docker.sock -v "${PWD}":/workspace -v /tmp -e CASC_JENKINS_CONFIG=/workspace/jenkins.yml \
-e CX_INFRA_IT_CF_USERNAME -e CX_INFRA_IT_CF_PASSWORD -e BRANCH_NAME="${TEST_CASE}" ppiper/jenkinsfile-runner
RC=$?
cd -
[ "${RC}" == 0 ] && touch "${TEST_CASE_ROOT}/SUCCESS"