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:
parent
4cae7b9ace
commit
cf08f3c7c8
@ -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}"
|
||||
|
Loading…
Reference in New Issue
Block a user