Fix trunkate in renewgitlabmirroring
This commit is contained in:
+10
-5
@@ -1,9 +1,14 @@
|
||||
|
||||
|
||||
|
||||
$head = @{"PRIVATE-TOKEN"="glpat-dQsUhS-GxNomkh1GnjHZ"}
|
||||
$projectCount=1
|
||||
#$head = @{"PRIVATE-TOKEN"="glpat-dQsUhS-GxNomkh1GnjHZ"}
|
||||
#$projectCount=1
|
||||
#$callUrl = "https://gitlab.steamware.net/api/v4/projects/" + $projectCount + "/remote_mirrors"
|
||||
$callUrl = "https://gitlab.steamware.net/"
|
||||
$Response = Invoke-WebRequest -URI $callUrl -Headers $head -ContentType "application/json" -UseBasicParsing
|
||||
Write-Output($Response)
|
||||
#$callUrl = "https://gitlab.steamware.net/"
|
||||
#$Response = Invoke-WebRequest -URI $callUrl -Headers $head -ContentType "application/json" -UseBasicParsing
|
||||
#Write-Output($Response)
|
||||
|
||||
$url = "https://*****:*****@gitlab-nembro.steamware.net/steamware/NKC.git"
|
||||
$splitUrl = $url -split '.net'
|
||||
Write-Output $splitUrl[0]
|
||||
Write-Output $splitUrl[1]
|
||||
Reference in New Issue
Block a user