diff --git a/dist/index.js b/dist/index.js index 4d118edd..b3762eee 100644 Binary files a/dist/index.js and b/dist/index.js differ diff --git a/dist/index.js.map b/dist/index.js.map index 873c9d25..130d8b5f 100644 Binary files a/dist/index.js.map and b/dist/index.js.map differ diff --git a/src/model/cloud-runner/providers/k8s/index.ts b/src/model/cloud-runner/providers/k8s/index.ts index 42786e32..8151271e 100644 --- a/src/model/cloud-runner/providers/k8s/index.ts +++ b/src/model/cloud-runner/providers/k8s/index.ts @@ -141,9 +141,10 @@ class Kubernetes implements ProviderInterface { CloudRunnerLogger.log('Cloud Runner K8s workflow!'); // Setup - const id = BuildParameters.shouldUseRetainedWorkspaceMode(this.buildParameters) - ? CloudRunner.lockedWorkspace - : this.buildParameters.buildGuid; + const id = + BuildParameters && BuildParameters.shouldUseRetainedWorkspaceMode(this.buildParameters) + ? CloudRunner.lockedWorkspace + : this.buildParameters.buildGuid; this.pvcName = `unity-builder-pvc-${id}`; await KubernetesStorage.createPersistentVolumeClaim( this.buildParameters,