Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue with Git - Pull (HTTPS) #1398

Open
Porter-dm opened this issue Sep 14, 2023 · 0 comments
Open

Issue with Git - Pull (HTTPS) #1398

Porter-dm opened this issue Sep 14, 2023 · 0 comments

Comments

@Porter-dm
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant