-
Notifications
You must be signed in to change notification settings - Fork 78
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
force:mdapi:deploy progress bar not rendering in CI/CD systems #271
Comments
FYI, I've raised a bug relating to this progress bar issue in non-tty environments in the underlying library here: oclif/cli-ux#137. |
We agree that for non-tty environments it is good to have the progress line by line. We are going to pass the progress to stderr behind an env var. This will show the progress as we had before and not include the progress bar. Please let us know if this solution will work for you? |
The progress should be passed to stdout since it is not an error. The CLI progress bar component already supports this functionality but was accidentally disabled by oclif/cli-ux. It looks like the bug in oclif/cli-ux has been fixed so this should just work now. |
Seems like this has been breaking our CI for the past few days. Workaround I'd suggest in the meantime:
Happy CI-ing :) |
We have added the env var |
When utilizing the force:mdapi:deploy command in server-based CI/CD systems (such as Bitbucket Pipelines, CircleCI, TeamCity, etc.) these systems often don't have the same CLI UI refresh capabilities as local systems do.
This causes the output of the new progress bar to display nothing at all when a deployment / unit test run is occurring. Essentially, it reduces progress reports during deploys to nothing besides the system exit code at the end or JSON output if you're utilizing that functionality.
A runtime flag to show a line-by-line output for these types of server-based systems which stream output to a web browser would be an ideal resolution.
The text was updated successfully, but these errors were encountered: