You need to sign in to do that
Don't have an account?
Doan
Apex Classes not created/updated after deployment
Hello Salesforce Community,
We have been deploying our packages via following command.
sfdx force:source:deploy -p "src" -u $environment -l RunLocalTests
Last week everything was good but this week after successful deployment we cannot see the new apex classes in target environment. Also existing apex classes are not updated. Does anyone have the same problem also possible solution?
I am sure updated classes files exist under force-app directory when running this command.
We have been deploying our packages via following command.
sfdx force:source:deploy -p "src" -u $environment -l RunLocalTests
Last week everything was good but this week after successful deployment we cannot see the new apex classes in target environment. Also existing apex classes are not updated. Does anyone have the same problem also possible solution?
I am sure updated classes files exist under force-app directory when running this command.
Re-check if there is apex metadata class existing in your org. Else try to deploy a sample class which has no dependency to your production or so that we can confirm if there is any issue.
Else try to use ANT or changeset and deploy apex class also review audit trail if there was any changes in the production instance.
Kindly review below aura components deployment known issue which might be related to your use case.
https://trailblazer.salesforce.com/issues_view?id=a1p4V0000003wX8QAI&title=changes-made-to-the-lightning-component-aura-used-in-community-are-not-reflected-immediately-after-deployment
Thanks,