You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucenenet.apache.org by ni...@apache.org on 2019/10/26 18:52:03 UTC
[lucenenet] 08/13: run-tests-on-os.yml: Added name to jobs so the
ones that are running can be displayed in the logs
This is an automated email from the ASF dual-hosted git repository.
nightowl888 pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/lucenenet.git
commit d8395be593c74313d39c9763f0e1508f6015d430
Author: Shad Storhaug <sh...@shadstorhaug.com>
AuthorDate: Sat Oct 26 05:40:04 2019 +0700
run-tests-on-os.yml: Added name to jobs so the ones that are running can be displayed in the logs
---
build/azure-templates/run-tests-on-os.yml | 8 +++++++-
1 file changed, 7 insertions(+), 1 deletion(-)
diff --git a/build/azure-templates/run-tests-on-os.yml b/build/azure-templates/run-tests-on-os.yml
index 0bd9f33..875cfdf 100644
--- a/build/azure-templates/run-tests-on-os.yml
+++ b/build/azure-templates/run-tests-on-os.yml
@@ -161,7 +161,7 @@ steps:
Start-Sleep -Milliseconds 500
# Execute the jobs in parallel
- Start-Job $scriptBlock -ArgumentList $testExpression
+ Start-Job -Name "$testName,$framework" -ScriptBlock $scriptBlock -ArgumentList $testExpression
}
}
}
@@ -177,6 +177,12 @@ steps:
if ($running.Count -gt 0) {
Write-Host ""
Write-Host " Almost finished, only $($running.Count) projects left..." -ForegroundColor Cyan
+ [int]$number = 0
+ foreach ($runningJob in $running) {
+ $number++
+ $jobName = $runningJob | Select -ExpandProperty Name
+ Write-Host "$number. $jobName"
+ }
$running | Wait-Job -Any
}
} until ($running.Count -eq 0)