-
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
"No Changes to Deploy" No Longer Registers as an Error #2621
"No Changes to Deploy" No Longer Registers as an Error #2621
Comments
Thank you for filing this issue. We appreciate your feedback and will review the issue as soon as possible. Remember, however, that GitHub isn't a mechanism for receiving support under any agreement or SLA. If you require immediate assistance, contact Salesforce Customer Support. |
This issue has been linked to a new work item: W-14739817 |
Re-opening b/c the fix wasn't released yet (we close GH issues once the feature/fix land in our stable/latest channel). The fix is available in the nightly channel, will be included in the next RC (Wed. 10) and promoted the following week. Thanks for reporting this! |
The fix is now in the sf CLI release candidate v2.24.4. |
The fix is now in the production sf CLI release, v2.24.4. |
Summary
In previous CLI builds, when you attempt to deploy an empty package.xml file, you would get the following Error with Exit Code 1:
With the latest CLI build, when you deploy an empty package.xml, you get the following message without the Error (1) message and the exit code will be 0.
I've confirmed the same behavior running locally in VS code and running in a CI/CD pipeline with the same CLI version.
Please revert this behavior so an empty package.xml will exit with error code 1.
Steps To Reproduce
No local changes to deploy.
and its exit code.Expected result
Exit Code in previous CLI builds was Exit Code 1, which could be used to fail a CI/CD pipeline.
Actual result
Exit Code with the latest build is 0, which makes the CI/CD pipeline end with no failure.
System Information
Tested locally on Windows 11 (PowerShell) and in GitLab CI/CD with the latest Ubuntu container (bash shell).
Additional information
CLI Build 2.10.2 - Exit Code 1
Latest CLI build 2.21.8 - Exit Code 0
The text was updated successfully, but these errors were encountered: