Publish output when failing to create deployment
This patch will publish output if Rally fails to create the deployment for some reason. Change-Id: Ie5b4db653d7ffc43832abb5b376a0d67612f2665
This commit is contained in:
parent
b5c01d934e
commit
b0fb284432
@ -114,8 +114,9 @@ func (runner *PeriodicRunner) createDeployment() {
|
||||
}
|
||||
|
||||
cmd := exec.Command("rally", "deployment", "create", "--filename", file.Name(), "--name", runner.CloudName)
|
||||
_, err = cmd.Output()
|
||||
output, err := cmd.CombinedOutput()
|
||||
if err != nil {
|
||||
fmt.Println(string(output))
|
||||
log.Fatal("Failed to install Rally deployment: ", err)
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user