Library
Library copied to clipboard
Issue with Git - Pull (HTTPS)
Step template
Git - Pull (HTTPS)
Step version
8
Octopus version
2023.3 (Build 12994)
Step template parameter inputs
Clone URL: https://github.com/biobright/octopus-testing Username: biobright-octopus Password: #{github_pat} Branch name: main
What happened
I get the following error:
InvalidData: Cannot bind argument to parameter 'Path' because it is null.
At /home/Octopus/Work/ServerTasks-74670-2d46ae74-c364-4bf7-9cc9-fd5508fb4155/Script.ps1:30 char:32
+ $tempDirectoryPath = join-path $tempDirectoryPath "GitPull"
+ ~~~~~~~~~~~~~~~~~~
Reproduction steps
Looking close, it appears that this is because line 29 of the script
$tempDirectoryPath = $OctopusParameters['Octopus.Tentacle.Agent.ApplicationDirectoryPath']
Doesn't actually populate $tempDirectoryPath -- it is still null.
More Information
No response