I did some more research, when I use the variable in the stage syncing, I get this error:
Started syncing files from the agent to the server.
An error occurred while syncing files from the server to the agent. Details: Exception: NullReferenceException Message: Object reference not set to an instance of an object. Stack Trace: at Continua.Shared.Utils.FileMatcher.b__1(String x) at System.Linq.Enumerable.WhereListIterator1.MoveNext() at Continua.Shared.Utils.FileMatcher.ParsePatterns(IEnumerable
1 patterns) at Continua.Shared.Utils.FileMatcher.GetMatches(IEnumerable1 patterns) at Continua.Modules.Builds.Agent.FileSync.UNCTransport.Copy(String destination, String pattern, IEnumerable
1 excludes, String basePath, RuleOperator op, Int32& filesCounted) at Continua.Modules.Builds.Agent.FileSync.UNCTransport.ExecuteAgentToServerRule(String source, IEnumerable1 excludeRules, WorkspaceRuleDTO rule) at Continua.Modules.Builds.Agent.FileSync.UNCTransport.CopyFilesFromAgentToServer(String source, IEnumerable
1 rules) at Continua.Modules.Builds.Agent.AgentBuildHelper.SyncWorkspaceToServer(TransportContextDTO context, IEnumerable1 rules, AgentWorkspaceSyncContext workspaceCtx) at Continua.Modules.Builds.Agent.AgentBuildRunner.OnSyncingWorkspace(Transition
1 inState) .
Below is the variable definition:
OctopusDeployPackageName%ProjectName%.Website.%GitVersion_ClassisVersion%.nupkgExpression
Is something wrong with this definition?