Hi Team,
When I try to execute below command, I see an error. Can anyone help me on below.
command:
sh version-application.sh -action addContents -vc_username username -vc_password testPassw0rd -application_path "C:/Users/test-version-manager/tool_1645.zip" -commit_message “Automated Version Manager”
version-manager.properties
versionControlType=GITrepoUrl=bitbucket-prod.company.com/test-version-manager.gitlocalRepoPath=C:/Users/test-version-managerbranchName=developcommitMessage= "Appian Versioning Manager"applicationPath=C:/Users/test-version-manager/tool_1645.zip # THIS IS FULL PACKAGEapplicationName=Tool_1645
Error:
java.lang.IllegalStateException: Error: the zip file cannot be committed to the repository. The zip file contains one or more application xml files and the versioning tool has been invoked with the parameter -UUID signaling that it should be a patch. at com.appiancorp.ps.automatedversioning.helper.RepoHelper.checkAppPatchZipIntegrity(RepoHelper.java:183) at com.appiancorp.ps.automatedversioning.VCSAndBuildController.addContents(VCSAndBuildController.java:101) at com.appiancorp.ps.automatedversioning.AutomatedVersioningManager.main(AutomatedVersioningManager.java:154)
Discussion posts and replies are publicly visible
Hello,It appears from the error that you exported the entire application rather than selecting objects within the application to create a patch. When you specify a UUID in the parameters, you should only be exporting a patch and not the entire application. If you would like to export the entire application, do not specify a UUID in your parameters.
Hi Md Shafiuddin,Thank you for your response.
However, I did not provide any UUID parameters. Please see below command line and property file arguments.