Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Merge pull request #34 from docker/addbuildnumtovm
add build number to other VMs
  • Loading branch information
pcaskey committed Apr 20, 2017
2 parents 319b9d4 + 780539a commit 7cbe04c
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
4 changes: 4 additions & 0 deletions comanage-appliance.json
Expand Up @@ -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": [
Expand Down
4 changes: 4 additions & 0 deletions grouper-appliance.json
Expand Up @@ -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": [
Expand Down

0 comments on commit 7cbe04c

Please sign in to comment.