From 4ebfb8713dfbc7950556b767367b40c975dca341 Mon Sep 17 00:00:00 2001 From: Kris Moore Date: Fri, 12 Apr 2019 11:07:09 -0400 Subject: [PATCH] Set FNBUILD location --- Jenkins/freenas-nightlies | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Jenkins/freenas-nightlies b/Jenkins/freenas-nightlies index 4330bf8..0f8a2ec 100644 --- a/Jenkins/freenas-nightlies +++ b/Jenkins/freenas-nightlies @@ -11,6 +11,7 @@ pipeline { environment { CHECKOUT_SHALLOW = 'YES' DELTAS = '0' + FNBUILD="${env.WORKSPACE}" } stages { @@ -19,7 +20,7 @@ pipeline { checkout scm sh 'mkdir -p /freenas || true' sh 'umount -f /freenas || true' - sh 'mount_nullfs ${env.WORKSPACE} /freenas' + sh 'mount_nullfs ${FNBUILD} /freenas' sh 'cd /freenas && make checkout PROFILE=freenas TRAIN=FreeNAS-11-Nightlies' } }