1
0
mirror of https://github.com/SAP/jenkins-library.git synced 2025-01-18 05:18:24 +02:00

print the mapping via jq

This commit is contained in:
Marcus Holl 2019-05-17 16:18:02 +02:00
parent 4cae7b9ace
commit cf08f3c7c8

View File

@ -31,4 +31,6 @@ docker run \
-f Jenkinsfile \
--runWorkspace /workspace
[ -f "${RESULT}" ] && cat "${RESULT}"
[ -f "${RESULT}" ] || { echo "Result file containing step to plugin mapping not found (${RESULT})."; exit 1; }
which -s jq && jq 'keys[] as $k | .[$k] | keys as $v | $k, [$v]' "${RESULT}"