Skip to content

Commit

Permalink
[CI] If we could not create a gist do not throw an error. (#13483)
Browse files Browse the repository at this point in the history
  • Loading branch information
mandel-macaque committed Dec 3, 2021
1 parent d0f5e32 commit 8ec686c
Showing 1 changed file with 15 additions and 7 deletions.
22 changes: 15 additions & 7 deletions tools/devops/automation/templates/build/publish-html.yml
Original file line number Diff line number Diff line change
Expand Up @@ -68,16 +68,24 @@ steps:
if ($fileName) {
$obj = New-GistObjectDefinition -Name $fileName -Path "$apiDiffRoot\$fileName" -Type "markdown"
$gistsObj.Add($obj)
# create a gist just for this file
$url = New-GistWithFiles -Description "$key API diff from stable" -Files @($obj)
Write-Host "New gist created at $url"
$gists[$key] = $url
$files = @($obj)
if ($files.Length -gt 0) {
# create a gist just for this file
$url = New-GistWithFiles -Description "$key API diff from stable" -Files $files
Write-Host "New gist created at $url"
$gists[$key] = $url
} else {
Write-Host "Could not create gist for $obj"
}
}
}
# create a gist with all diffs
$url = New-GistWithFiles -Description "API diff from stable (all platforms)" -Files $gistsObj
$gists["index"] = $url
if ($gistsObj.Length -gt 0) {
# create a gist with all diffs
$url = New-GistWithFiles -Description "API diff from stable (all platforms)" -Files $gistsObj
$gists["index"] = $url
}
# similar dict but for the html links from vsdrops
$apiDiffRoot="$Env:VSDROPSPREFIX/$Env:BUILD_BUILDNUMBER/$Env:BUILD_BUILDID/apidiff/;/"
Expand Down

5 comments on commit 8ec686c

@vs-mobiletools-engineering-service2
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

❌ [CI Build] Tests failed on Build ❌

Tests failed on Build.

API diff

✅ API Diff from stable

View API diff
View dotnet API diff
View dotnet legacy API diff
View dotnet iOS-MacCatalayst API diff

API & Generator diff

ℹ️ API Diff (from PR only) (please review changes)
Generator Diff (no change)

Packages generated

View packages

Test results

8 tests failed, 211 tests passed.

Failed tests

  • introspection/Mac Catalyst [dotnet]/Debug [dotnet]: TimedOut (Execution timed out after 1200 seconds.
    No test log file was produced)
  • monotouch-test/Mac [dotnet]/Debug [dotnet]: BuildFailure
  • monotouch-test/watchOS 32-bits - simulator/Debug: TimedOut
  • monotouch-test/watchOS 32-bits - simulator/Debug (LinkSdk): Crashed
  • monotouch-test/watchOS 32-bits - simulator/Debug (static registrar): Crashed
  • monotouch-test/watchOS 32-bits - simulator/Release (all optimizations): Crashed
  • monotouch-test/watchOS 32-bits - simulator/Debug (all optimizations): Crashed
  • link sdk/Mac Catalyst [dotnet]/Debug [dotnet]: TimedOut (Execution timed out after 1200 seconds.
    No test log file was produced)

Pipeline on Agent XAMBOT-1030.BigSur'
[CI] If we could not create a gist do not throw an error. (#13483)

@vs-mobiletools-engineering-service2
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Tests were not ran (VSTS: device tests tvOS). ⚠️

Results were skipped for this run due to provisioning problems Azure Devops. Please contact the bot administrator.

Pipeline on Agent XAMTESTMAC18'
[CI] If we could not create a gist do not throw an error. (#13483)

@vs-mobiletools-engineering-service2
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Tests were not ran (VSTS: device tests iOS). ⚠️

Results were skipped for this run due to provisioning problems Azure Devops. Please contact the bot administrator.

Pipeline on Agent XAMTESTMAC01'
[CI] If we could not create a gist do not throw an error. (#13483)

@vs-mobiletools-engineering-service2
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

❌ Status for 'xamarin-macios - sample testing (build)': failure.

  • ❌ Debug_iPhone_AF: Failed
  • ❌ Debug_iPhone_GR: Failed
  • ❌ Debug_iPhone_SZ: Failed
  • ❌ Debug_iPhoneSimulator: Failed
  • ❌ Release_iPhone_AF: Failed
  • ❌ Release_iPhone_GR: Failed
  • ❌ Release_iPhone_SZ: Failed
  • ❌ Release_iPhoneSimulator: Failed
  • ❌ Debug_Mac: Failed
  • ❌ Release_Mac: Failed
  • ❌ PublishPerformanceData: Failed

@vs-mobiletools-engineering-service2
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Tests were not ran (Build). ⚠️

Results were skipped for this run Azure Devops.

Pipeline on Agent
[CI] If we could not create a gist do not throw an error. (#13483)

Please sign in to comment.