Hi,
I was trying to build package (app-repo) using the appian-adm-versioning-client-2.5.7 with the following settings
[vcUsername:gabriel_tay],[vcPassword:***],[commitMessage:value not provided],[action:buildAllApps],[applicationPath:value not provided],[adminConsolePath:value not provided],[ddlPath:value not provided],[flywayPath:value not provided],[ddlDs:value not provided],[uuid:value not provided],[applicationName:value not provided],[startHash:value not provided],[endHash:value not provided],[packagePath:/Users/gabrieltay/package.zip],[versionControlType:GIT],[repoUrl:https://bitbucket.xxxhive.com/scm/xxx/appian-package.git],[localRepoPath:/Users/gabrieltay/Desktop/_Work/xxx/appian-package],[branchName:development],[appianObjectsRepoPath:app-repo],[noUpdate:value not provided],[enableFolderListenerCommitMessage:value not provided]
I had the following error.
2019-05-28 00:32:57,634 - Local repo updated successfully2019-05-28 00:32:58,537 - There was an error completing the selected operation. Additional details will be logged.2019-05-28 00:32:58,537 - Details of error: java.lang.IllegalArgumentException: Parameter 'directory' is not a directory at org.apache.commons.io.FileUtils.validateListFilesParameters(FileUtils.java:545) at org.apache.commons.io.FileUtils.listFiles(FileUtils.java:521) at org.apache.commons.io.FileUtils.listFiles(FileUtils.java:691) at com.appiancorp.ps.automatedversioning.helper.PackageGenerationHelper.addMetaInfFolderToZip(PackageGenerationHelper.java:323) at com.appiancorp.ps.automatedversioning.helper.PackageGenerationHelper.createZipFileFromChangedFiles(PackageGenerationHelper.java:212) at com.appiancorp.ps.automatedversioning.helper.PackageGenerationHelper.generatePackage(PackageGenerationHelper.java:82) at com.appiancorp.ps.automatedversioning.VCSAndBuildController.generateChangedFileList(VCSAndBuildController.java:270) at com.appiancorp.ps.automatedversioning.VCSAndBuildController.buildPackage(VCSAndBuildController.java:221) at com.appiancorp.ps.automatedversioning.VCSAndBuildController.buildAllApps(VCSAndBuildController.java:311) at com.appiancorp.ps.automatedversioning.AutomatedVersioningManager.main(AutomatedVersioningManager.java:129)
What could have gone wrong?
My repo structure is made up the following:
appian-package
-- app-repo
------ application
------ content
-- env-repo
Discussion posts and replies are publicly visible
I'm on version 19.1 btw