Files
powershell-scripts/TestCall.ps1
T
marco.locatelli@steamware.net 99879dc716 Fix trunkate in renewgitlabmirroring
2023-09-22 15:25:51 +02:00

14 lines
512 B
PowerShell

#$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)
$url = "https://*****:*****@gitlab-nembro.steamware.net/steamware/NKC.git"
$splitUrl = $url -split '.net'
Write-Output $splitUrl[0]
Write-Output $splitUrl[1]