Merge pull request #512 from vmarmol/multiple

Use pkill instead of killall.
This commit is contained in:
Rohit Jnagal 2015-02-17 11:17:09 -08:00
commit 8d2e44b76f
2 changed files with 1 additions and 2 deletions

View File

@ -29,7 +29,6 @@ if ! git diff --name-only origin/master | grep -c -E "*.go|*.sh" &> /dev/null; t
exit 0
fi
shift
HOSTS=$@
export GOPATH="$JENKINS_HOME/workspace/project"
export GOBIN="$GOPATH/bin"

View File

@ -76,7 +76,7 @@ func PushAndRunTests(host, testDir string) error {
}
}()
defer func() {
err := RunCommand("gcutil", "ssh", host, "sudo", "killall", cadvisorBinary)
err := RunCommand("gcutil", "ssh", host, "sudo", "pkill", cadvisorBinary)
if err != nil {
glog.Error(err)
}