I faced a problem when setting up octopus steps for a project.
I need to create a step where the project deployment path will be located at the specified IIS path and its pre-created directory folder in the server.
I’m able to deploy the changes to DEV with the predefined variables in Octopus, However when trying to deploy to Stage (DEV and Stage shares the same server but different IIS path), the deployment fails and error is prompted as below:
Error: 015-04-13 06:05:19 ERROR System.Exception: Variables could not be evaluated because the variable ‘OctopusPackageDirectoryPath’ is cyclic: OctopusPackageDirectoryPath -> OctopusPackageDirectoryPath
Please refer to the attached screenshots.
Thanks in advance