diff --git a/playbooks/legacy/pre.yaml b/playbooks/legacy/pre.yaml index b2b6d3d7..490dcb3c 100644 --- a/playbooks/legacy/pre.yaml +++ b/playbooks/legacy/pre.yaml @@ -56,3 +56,10 @@ regexp: '^ sudo .script_path/jenkins-sudo-grep.sh post' line: ' sudo $script_path/zuul-sudo-grep.sh post' become: true + + - name: Show the environment passed in to job shell scripts + shell: + cmd: | + env + executable: /bin/bash + environment: '{{ zuul | zuul_legacy_vars }}'