use Arm's jenkins environment check function

Use the function that checks Arm's jenkins environment instead of 'echo
| grep' pipe command

Signed-off-by: Leonardo Sandoval <leonardo.sandoval@linaro.org>
Change-Id: I99060e330d3cc64569d4d3638684c6e0ad2bee73
2 files changed