No UnityEngine.CloudBuild in cloud build environment?

When building WebGL target in Unity Cloud Build I get this error:

The type or namespace name 'CloudBuild' does not exist in the namespace 'UnityEngine' (are you missing an assembly reference?)

Why? According to this Unity - Manual: Build manifest as ScriptableObject the BuildManifestObject should exist in the cloud environment?

Hello?

You are correct the BuildManifestObject should exist in the cloud environment. There could be something specific to your project that is causing the error. Could you open a support ticket so the Cloud Build support team can investigate this issue?

Did you manage to solve the issue?
I also get it on the editor it self on a script that is editor only.

Am I missing something here?