Print environment in pre playbook of legacy-base job
We construct an environment for legacy purposes. Let's print it for help debugging things. Change-Id: I042e481ebe541d7cbc69a29d4e38b3779d48a936
This commit is contained in:
parent
a617311a88
commit
2aff9bc324
@ -56,3 +56,10 @@
|
|||||||
regexp: '^ sudo .script_path/jenkins-sudo-grep.sh post'
|
regexp: '^ sudo .script_path/jenkins-sudo-grep.sh post'
|
||||||
line: ' sudo $script_path/zuul-sudo-grep.sh post'
|
line: ' sudo $script_path/zuul-sudo-grep.sh post'
|
||||||
become: true
|
become: true
|
||||||
|
|
||||||
|
- name: Show the environment passed in to job shell scripts
|
||||||
|
shell:
|
||||||
|
cmd: |
|
||||||
|
env
|
||||||
|
executable: /bin/bash
|
||||||
|
environment: '{{ zuul | zuul_legacy_vars }}'
|
||||||
|
Loading…
x
Reference in New Issue
Block a user