test(git-clone): add missing fragment test

pull/210/head
Brewer, Michael (US - California) 1 year ago
parent 741d656a89
commit d76e4d9543
No known key found for this signature in database
GPG Key ID: 83CCF3ACE4DF618E

@ -27,7 +27,7 @@ variable "agent_id" {
locals {
# Remove query parameters and fragments from the URL
url = replace(replace(var.url, "/\\?.*/", ""), "/#.*", "")
url = replace(replace(var.url, "/\\?.*/", ""), "/#.*/", "")
# Remove tree and branch name from the URL
clone_url = replace(replace(local.url, "//-/tree/.*/", ""), "//tree/.*/", "")
# Extract the branch name from the URL

Loading…
Cancel
Save