matkoch / TestFx

Next Level Testing.
Apache License 2.0
34 stars 4 forks source link

Include PRs in continuous integration #15

Open matkoch opened 7 years ago

matkoch commented 7 years ago

In order to make PR builds immediately available:

$encodedCreds = [System.Convert]::ToBase64String([System.Text.Encoding]::ASCII.GetBytes($pair)) $basicAuthValue = "Basic $encodedCreds" $Headers = @{ Authorization = $basicAuthValue }

Invoke-WebRequest -Uri 'https://teamcity.jetbrains.com/httpAuth/app/rest/projects/Testfx/parameters/BuildScriptHash' -Headers $Headers -ContentType "text/plain" -Method PUT ` -Body "hash"