forcedotcom / forcedotcom/NextGeneration-DevOpsCenter

Error with deploying using 'Default' test options

Open
#16 8 comments 0 reactions 0 assignees View on GitHub
type:bug
Dominant language
No language data
Stars
7
Forks
1
PR merge metrics
No merged PRs in 30d

Description

When trying to deploy non apex metadata, I am getting the following error.
{"errorType":"UNKNOWN","errorMessage":"INVALID_OPERATION: testLevel of NoTestRun cannot be used in production organizations"}

It seems to be related to the api not allowing NoTestRun when deploying to production. Was able to select the default option and deploy without tests being run for non apex metadata with the managed package version of devops center, but it seems like next gen is providing the api explicitly with NoTestRun, which is causing the issue.

Happy to provide any more info if needed

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.