Hi,
Is it possible to get access to the location of the deployed package in a powershell step, the following output seems to indicate that those variables are blank. Also because the step’s script is running from a temporary location it’s not possible to know where the package install location is.
2013-02-21 01:35:14 INFO Begin script run
2013-02-21 01:35:14 DEBUG Running script against tentacle http://wsn-wcmsdev01:10933/
2013-02-21 01:35:28 ERROR Running job on the tentacle failed:
2013-02-21 01:35:28 INFO Tentacle output follows:
2013-02-21 01:35:22 INFO OctopusWebSiteName=wwwdev
2013-02-21 01:35:22 INFO OctopusOriginalPackageDirectoryPath=
2013-02-21 01:35:22 INFO OctopusPackageDirectoryPath=
2013-02-21 01:35:25 INFO ERROR: & : The term ‘_deploy\ReplaceOctopusConfigVars.ps1’ is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
2013-02-21 01:35:25 INFO ERROR: At C:\Windows\system32\config\systemprofile\AppData\Local\Tentacle\Temp\a40954a1-060b-419a-9446-297b48843721.ps1:4 char:3
2013-02-21 01:35:25 INFO ERROR: + & $OctopusOriginalPackageDirectoryPath_deploy\ReplaceOctopusConfigVars.ps1 | Wr …
2013-02-21 01:35:25 INFO ERROR: + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2013-02-21 01:35:25 INFO ERROR: + CategoryInfo : ObjectNotFound: (_deploy\ReplaceOctopusConfigVars.ps1:String) [], CommandNotFoundException
2013-02-21 01:35:25 INFO ERROR: + FullyQualifiedErrorId : CommandNotFoundException
2013-02-21 01:35:25 INFO ERROR:
2013-02-21 01:35:26 INFO ==============================================
2013-02-21 01:35:26 INFO PowerShell exit code: -12
2013-02-21 01:35:26 INFO ==============================================