Skip to content
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

Problem with Import Solutions Using Config #307

Open
biconix opened this issue Jul 14, 2021 · 0 comments
Open

Problem with Import Solutions Using Config #307

biconix opened this issue Jul 14, 2021 · 0 comments

Comments

@biconix
Copy link

biconix commented Jul 14, 2021

I have been trying out the Import/Export Solutions and they work great!
i tried the Exports Solutions Using Config, and it also worked great.

However, I tried Import Solutions Using Config and it does not work. The error I get is:
D:\TFSBuild_work4\r1133\a$\GGZNT\Dev\Biz.Xrm.Gizanut\ReleaseUnmanagedSolutions.json does not exist

The file does exits. in fact it is sitting in the same directory as the config file in Exports Solutions Using Config, which works
Also it is curious that when i select the config file, the dialog box shows me the artifacts and not the Repo path. and there is no place to select the artifacts (unless it uses the Artifacts defined in the Release Pipline)

am i doing anything wrong?

Here is the YAML for the two steps. Notice the config paths are the same except for the filename

  1. BUILD STEP - WORKS
    #Your build pipeline references an undefined variable named ‘ConnectionString-DEV’. Create or edit the build pipeline for this YAML file, define the variable on the Variables tab. See https://go.microsoft.com/fwlink/?linkid=865972

steps:

  • task: WaelHamze.xrm-ci-framework-build-tasks.MSCRMExportSolutionsUsingConfig.MSCRMExportSolutionsUsingConfig@12
    displayName: 'Exports Solutions Using Config'
    inputs:
    crmConnectionString: '$(ConnectionString-DEV)'
    configFilePath: '$/GZNT/Dev/biz.Xrm.GZNT/BuildUnmanagedSolutions.json'
    outputPath: '$(Build.ArtifactStagingDirectory)'
  1. RELEASE STEP - GETS does not exist error
    #Your build pipeline references an undefined variable named ‘ConnectionString-QA’. Create or edit the build pipeline for this YAML file, define the variable on the Variables tab. See https://go.microsoft.com/fwlink/?linkid=865972

steps:

  • task: WaelHamze.xrm-ci-framework-build-tasks.MSCRMImportSolutionsUsingConfig.MSCRMImportSolutionsUsingConfig@12
    displayName: 'Import Solutions Using Config'
    inputs:
    crmConnectionString: '$(ConnectionString-QA)'
    configFilePath: '$/GZNT/Dev/biz.Xrm.GZNT/ReleaseUnmanagedSolutions.json'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant