When using pipeline while storing the jenkinsfile in gitlab, the option to use groovy sandbox is not available
Hello. Groovy Sandbox is used by default when using Multi-Branch plugins including GitLab Branch Source.
There might be and RFE to support disabling it. If this is what you would like to see, please feel free to reopen the issue (would be likely a dup then)