racker/dreadnot — pull request #51 by tildedave (2013-07-13 17:02:37+00:00)
Title: Guard against 'null' actions when determining lastBuiltRevision.

We recently upgraded our Jenkins and started to get actions returned in the tree line

```javascript
{
actions: [
{ },
{ },
null,
{
lastBuiltRevision: {
SHA1: "0faf4733647f9d0a1c2ebeff72b8b86d72a39e92"
}
},
{ },
{ },
{ }
],
building: false,
fullDisplayName: "Chef #12",
number: 12,
result: "SUCCESS",
timestamp: 1373657574000,
url: "http://$JENKINS_URL/job/Chef/12/"
}
```

The 'null' action causes the Jenkins code that determines the lastBuiltRevision to blow up. This patch adds a guard.