add standard way to get resources so jenkins cooperates

Change-Id: I04525154aa5a0483846ab2a341eb2943e70e09c0