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