WaelHamze / xrm-ci-framework

xRM CI Framework provides you with the tools automate the build and deployment of your CRM Solution. Using the framework to implement a fully automated DevOps pipeline will allow you to deploy more frequently with added consistency and quality.
MIT License
186 stars 117 forks source link

plugin registration json not being generated #268

Open sdeshbhratar opened 4 years ago

sdeshbhratar commented 4 years ago

Hello I am trying to use the Get-XrmPluginRegistration command to generate the registration JSON but the file does not get updated and neither do i get an error message.. on the devops tools you a link for the sample file, but the location of the file is missing on github. could you please help with this json file? plugin_reg_json_sample_missing

WaelHamze commented 4 years ago

@sdeshbhratar this is a sample json file: https://github.com/WaelHamze/dyn365-ce-devops-sample/blob/master/Sample/Xrm.CI.Framework.Sample/Xrm.CI.Framework.Sample.Plugins/PluginRegistration.json

sdeshbhratar commented 4 years ago

thank you very much for the JSON. any idea why the tool isnt generating the JSON? we have quite a few steps invoved and it might be an issue generating the JSON manually and correctly.

sdeshbhratar commented 4 years ago

hello

just following up on the request. is it possible to identify the issue with the json generation script? i do not get any errors and the request completes but the json file still remains blank.

sdeshbhratar commented 4 years ago

hello another follow up on this. it would be really helpful if you can help with the script. our only other option is to build the json manually and its quite prone to bugs. thank you.

WaelHamze commented 4 years ago

@sdeshbhratar this script can be used to generate the json. Not sure what is the error that you are getting.

https://github.com/WaelHamze/dyn365-ce-devops-sample/blob/master/Sample/Xrm.CI.Framework.Sample/Xrm.CI.Framework.Sample.Plugins/GetPluginRegistration.ps1