From 780539a8b7c958233a634bd9b45de07fd9f22a65 Mon Sep 17 00:00:00 2001 From: Paul Caskey Date: Thu, 20 Apr 2017 15:44:47 -0500 Subject: [PATCH] add build number to other VMs --- comanage-appliance.json | 4 ++++ grouper-appliance.json | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/comanage-appliance.json b/comanage-appliance.json index 3eb4e4c..cdf3948 100644 --- a/comanage-appliance.json +++ b/comanage-appliance.json @@ -28,6 +28,10 @@ "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": [ diff --git a/grouper-appliance.json b/grouper-appliance.json index d8819cb..9862760 100644 --- a/grouper-appliance.json +++ b/grouper-appliance.json @@ -29,6 +29,10 @@ "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": [