From 6d248533b30df1fa3e968a3e4a0b707944d1c66a Mon Sep 17 00:00:00 2001 From: Paul Caskey Date: Tue, 21 Feb 2017 09:55:55 -0600 Subject: [PATCH] attempt to write build number to VM --- shibboleth-appliance.json | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/shibboleth-appliance.json b/shibboleth-appliance.json index 66240dd..9da684b 100644 --- a/shibboleth-appliance.json +++ b/shibboleth-appliance.json @@ -28,7 +28,11 @@ { "type": "shell", "execute_command": "echo 'centos' | {{.Vars}} sudo -S -E bash '{{.Path}}'", - "script": "scripts/cleanup.sh" + "script": "scripts/cleanup.sh", + }, + { + "type": "shell", + "inline": ["sudo centos echo 'TIERBUILD='{{user `build_number`}} > /home/centos/buildenv.bash"] } ], "builders": [