xgeek-net / pipeline

Be less busy, less mistake in Salesforce metadata deploy
https://www.xgeek.net/salesforce/pipeline-for-salesforce/
GNU General Public License v3.0
39 stars 19 forks source link

Deployment Failed with Profile Settings #21

Open nguyen-tien-github opened 5 years ago

nguyen-tien-github commented 5 years ago

Hi @xgeek-net

I have another error when deploying with custom profiles. Please check image below: deploy

Thank you for your time.

xgeek-net commented 5 years ago

Hi, @nguyen-tien-mulodo Component dependencies issue needs you to fix metadata in git repository manually, I'm not recommend to deploy Profile metadata with any deploy tool. See https://github.com/xgeek-net/pipeline/issues/11 .

juanlu-github commented 5 years ago

Hi @xgeek-net,

Thanks a lot for this great tool.

Does your previous comment means that we have no way of deploying custom profiles with Pipeline? We see issues with "Unknown user permission" over and over again; as soon as we have removed one permission, the next one fails.

As far as I know, the specific permission could be removed from package.xml, but I don't think this is possible in Pipeline, is it? Or is there any other workaround?

Thanks a lot.

xgeek-net commented 5 years ago

Hi, @juanlu-github

I didn't mean Pipeline does not support profile deploy, it can deploy any component which is supported by SFDC metadata API, but I don't recommend to manage profile metadata with Git as a best practice. Actually, you can remove the specific permission from package.xml and deploy it with Pipeline as with Ant or other IDEs.