Skip to content

Commit

Permalink
Ensure values from multiline variables are properly logged (Azure#202)
Browse files Browse the repository at this point in the history
Print multi-line environment variables (typically JSON objects) in Show Variables step
  • Loading branch information
SenthuranSivananthan authored Mar 3, 2022
1 parent d6b1c08 commit 5753cf0
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .pipelines/templates/steps/show-variables.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,24 +50,24 @@ steps:
echo
echo "LOGGING"
echo
printenv | grep -i "^var-logging-"
printenv -0 | grep -zi "^var-logging-" | xargs -0 -L 1 echo
echo
echo
echo "HUB NETWORKING (core)"
echo
printenv | grep -i -P '^var-hubnetwork-(?!nva|azfw)'
printenv -0 | grep -zi -P '^var-hubnetwork-(?!nva|azfw)' | xargs -0 -L 1 echo
echo
echo
echo "HUB NETWORKING WITH AZURE FIREWALL"
echo
printenv | grep -i '^var-hubnetwork-azfw-'
printenv -0 | grep -zi '^var-hubnetwork-azfw-' | xargs -0 -L 1 echo
echo
echo
echo "HUB NETWORKING WITH NETWORK VIRTUAL APPLIANCE"
echo
printenv | grep -i '^var-hubnetwork-nva-'
printenv -0 | grep -zi '^var-hubnetwork-nva-' | xargs -0 -L 1 echo
$(var-bashPostInjectScript)

0 comments on commit 5753cf0

Please sign in to comment.