Error:
ERROR: Exception Details
ERROR: Exception Primary Class: SAXParseException
ERROR: Exception Primary Reason: Content is not allowed in prolog.
ERROR: Exception Primary Source: MongoDB 0
Unexpected error running Liquibase: Error parsing line 1 column 1 of Create_collection.xml: Content is not allowed in prolog.
XML file used and command used:
liquibase --url=“$(MONGOSH_COMMAND_URL)” --searchPath=“$(Build.SourcesDirectory)$(changeset_master_file_path)” --changeLogFile=“changeset_master.xml” validate
Log the parameter values for debug
Write-Host “mongosh_command_url: $env:MONGOSH_COMMAND_URL”
Write-Host “Build Sources Directory: $env:Build_SourcesDirectory”
Write-Host “Changeset Master File Path: $env:changeset_master_file_path”