I am deploying one application on server. for testing purpose my octopus and tentacle is on same machine if it succeeds then I move on to other machines. But I am not able to do even deploy simple html. Please find below error and let me know what to do.
The step failed: Activity hellooctopus2 on URITrainingDEVEnvironment failed with error ‘The remote script failed with exit code 1’.
URITrainingDEVEnvironment
08:39:12Info
Deploying package ‘D:\OctopusTentacle\Files\hellooctopus.1.0.0.nupkg-28c53a39-bcef-4c22-ac57-eef37c1da7ab’ to machine ‘https://localhost:10933/’
08:39:14Info
Deploying package: D:\OctopusTentacle\Files\hellooctopus.1.0.0.nupkg-28c53a39-bcef-4c22-ac57-eef37c1da7ab
08:39:19Info
Found binding: @{protocol=http; ipAddress=*; port=8089; host=; thumbprint=; requireSni=False; enabled=True}
08:39:19Error
pushd : Cannot find drive. A drive with the name ‘IIS’ does not exist.
08:39:19Error
At D:\OctopusTentacle\Applications\URITrainingDEVEnvironment\hellooctopus\1.0.0
08:39:19Error
_20\Octopus.Features.IISWebSite_BeforePostDeploy.ps1:282 char:1
08:39:19Error
- pushd IIS:
08:39:19Error -
08:39:19Error
+ CategoryInfo : ObjectNotFound: (IIS:String) [Push-Location], Dr
08:39:19Error
iveNotFoundException
08:39:19Error
+ FullyQualifiedErrorId : DriveNotFound,Microsoft.PowerShell.Commands.Push
08:39:19Error
LocationCommand
08:39:19Error
08:39:19Error
Script ‘D:\OctopusTentacle\Applications\URITrainingDEVEnvironment\hellooctopus\1.0.0_20\Octopus.Features.IISWebSite_BeforePostDeploy.ps1’ returned non-zero exit code: 1
08:39:19Error
Running rollback conventions…
08:39:19Error
Script ‘D:\OctopusTentacle\Applications\URITrainingDEVEnvironment\hellooctopus\1.0.0_20\Octopus.Features.IISWebSite_BeforePostDeploy.ps1’ returned non-zero exit code: 1
08:39:19Fatal
hellooctopus2 on URITrainingDEVEnvironment