JENKINS-20065 Retain original build causes

This is a fix for JENKINS-20065 Retain original build causes.