Skip to content
GitLab
菜单
为什么选择 GitLab
定价
联系销售
探索
为什么选择 GitLab
定价
联系销售
探索
登录
获取免费试用
主导航
搜索或转到…
项目
A
aspnetcore
管理
动态
成员
标记
计划
议题
议题看板
里程碑
Wiki
代码
合并请求
仓库
分支
提交
标签
仓库图
比较修订版本
代码片段
构建
流水线
作业
流水线计划
产物
部署
发布
Package registry
Container registry
模型注册表
运维
环境
Terraform 模块
监控
事件
服务台
分析
价值流分析
贡献者分析
CI/CD 分析
仓库分析
模型实验
帮助
帮助
支持
GitLab 文档
比较 GitLab 各版本
社区论坛
为极狐GitLab 提交贡献
提交反馈
隐私声明
快捷键
?
新增功能
4
代码片段
群组
项目
显示更多面包屑
dotnet
aspnetcore
提交
e280884a
未验证
提交
e280884a
编辑于
4 years ago
作者:
Hao Kung
提交者:
GitHub
4 years ago
浏览文件
操作
下载
补丁
差异文件
Create a new pipeline that runs PR queue tests more often (#23410)
上级
8863eaf4
No related branches found
No related tags found
无相关合并请求
变更
1
隐藏空白变更内容
行内
左右并排
显示
1 个更改的文件
.azure/pipelines/quarantined-pr.yml
+149
-0
149 个添加, 0 个删除
.azure/pipelines/quarantined-pr.yml
有
149 个添加
和
0 个删除
.azure/pipelines/quarantined-pr.yml
0 → 100644
+
149
−
0
浏览文件 @
e280884a
# We want to run quarantined tests on master as well as on PRs
trigger
:
batch
:
true
branches
:
include
:
-
master
schedules
:
-
cron
:
"
0
*/4
*
*
*"
displayName
:
Every 4 hours test run
branches
:
include
:
-
master
always
:
true
variables
:
-
${{ if ne(variables['System.TeamProject'], 'internal') }}
:
-
name
:
_UseHelixOpenQueues
value
:
'
true'
-
${{ if eq(variables['System.TeamProject'], 'internal') }}
:
-
group
:
DotNet-HelixApi-Access
-
name
:
_UseHelixOpenQueues
value
:
'
false'
jobs
:
-
template
:
jobs/default-build.yml
parameters
:
jobName
:
Helix_quarantined_x64
jobDisplayName
:
'
Tests:
Helix'
agentOs
:
Windows
timeoutInMinutes
:
240
steps
:
# Build the shared framework
-
script
:
./build.cmd -ci -nobl -all -pack -arch x64 /p:ASPNETCORE_TEST_LOG_DIR=artifacts/log
displayName
:
Build shared fx
-
script
:
./build.cmd -ci -nobl -noBuildRepoTasks -restore -noBuild -noBuildNative -projects src/Grpc/**/*.csproj
displayName
:
Restore interop projects
-
script
:
./build.cmd -ci -nobl -noBuildRepoTasks -noRestore -test -all -noBuildJava -noBuildNative
-projects eng\helix\helix.proj /p:RunQuarantinedTests=true /p:IsRequiredCheck=true /p:IsHelixJob=true
/p:BuildInteropProjects=true /p:RunTemplateTests=true /p:ASPNETCORE_TEST_LOG_DIR=artifacts/log
displayName
:
Run build.cmd helix target
continueOnError
:
true
env
:
HelixApiAccessToken
:
$(HelixApiAccessToken)
# Needed for internal queues
SYSTEM_ACCESSTOKEN
:
$(System.AccessToken)
# We need to set this env var to publish helix results to Azure Dev Ops
artifacts
:
-
name
:
Helix_logs
path
:
artifacts/log/
publishOnError
:
true
-
template
:
jobs/default-build.yml
parameters
:
jobName
:
Windows_Quarantined_x64
jobDisplayName
:
'
Tests:
Windows
x64'
agentOs
:
Windows
timeoutInMinutes
:
240
isTestingJob
:
true
steps
:
-
powershell
:
"
&
./build.ps1
-CI
-nobl
-all
-pack
-NoBuildJava"
displayName
:
Build
# The templates part can be removed when the Blazor Templates run on Helix
-
script
:
./src/ProjectTemplates/build.cmd -ci -nobl -pack -NoRestore -NoBuilddeps "/p:RunTemplateTests=true"
displayName
:
Pack Templates
-
script
:
./build.cmd -ci -nobl -test -NoRestore -NoBuild -NoBuilddeps "/p:RunTemplateTests=true /p:RunQuarantinedTests=true /p:SkipHelixReadyTests=true"
displayName
:
Run Quarantined Tests
continueOnError
:
true
-
task
:
PublishTestResults@2
displayName
:
Publish Quarantined Test Results
inputs
:
testResultsFormat
:
'
xUnit'
testResultsFiles
:
'
*.xml'
searchFolder
:
'
$(Build.SourcesDirectory)/artifacts/TestResults/$(_BuildConfig)/Quarantined'
condition
:
always()
artifacts
:
-
name
:
Windows_Quarantined_Test_Logs
path
:
artifacts/log/
publishOnError
:
true
includeForks
:
true
-
name
:
Windows_Quarantined_Test_Results
path
:
artifacts/TestResults/
publishOnError
:
true
includeForks
:
true
-
template
:
jobs/default-build.yml
parameters
:
jobName
:
MacOS_Quarantined_Test
jobDisplayName
:
"
Tests:
macOS
10.14"
agentOs
:
macOS
timeoutInMinutes
:
240
isTestingJob
:
true
steps
:
-
bash
:
./build.sh --all --pack --ci --nobl --no-build-java
displayName
:
Build
# The templates part can be removed when the Blazor Templates run on Helix
-
bash
:
./src/ProjectTemplates/build.sh --ci --nobl --pack --no-restore --no-build-deps
displayName
:
Pack Templates (for Template tests)
-
bash
:
./build.sh --no-build --ci --nobl --test -p:RunTemplateTests=true -p:RunQuarantinedTests=true -p:SkipHelixReadyTests=true
displayName
:
Run Quarantined Tests
continueOnError
:
true
-
task
:
PublishTestResults@2
displayName
:
Publish Quarantined Test Results
inputs
:
testResultsFormat
:
'
xUnit'
testResultsFiles
:
'
*.xml'
searchFolder
:
'
$(Build.SourcesDirectory)/artifacts/TestResults/$(_BuildConfig)/Quarantined'
condition
:
always()
artifacts
:
-
name
:
MacOS_Quarantined_Test_Logs
path
:
artifacts/log/
publishOnError
:
true
includeForks
:
true
-
name
:
MacOS_Quarantined_Test_Results
path
:
artifacts/TestResults/
publishOnError
:
true
includeForks
:
true
-
template
:
jobs/default-build.yml
parameters
:
jobName
:
Linux_Quarantined_Test
jobDisplayName
:
"
Tests:
Ubuntu
16.04
x64"
agentOs
:
Linux
timeoutInMinutes
:
240
isTestingJob
:
true
useHostedUbuntu
:
false
steps
:
-
bash
:
./build.sh --all --pack --ci --nobl --no-build-java
displayName
:
Build
# The templates part can be removed when the Blazor Templates run on Helix
-
bash
:
./src/ProjectTemplates/build.sh --ci --nobl --pack --no-restore --no-build-deps
displayName
:
Pack Templates (for Template tests)
-
bash
:
./build.sh --no-build --ci --nobl --test -p:RunTemplateTests=true -p:RunQuarantinedTests=true -p:SkipHelixReadyTests=true
displayName
:
Run Quarantined Tests
continueOnError
:
true
-
task
:
PublishTestResults@2
displayName
:
Publish Quarantined Test Results
inputs
:
testResultsFormat
:
'
xUnit'
testResultsFiles
:
'
*.xml'
searchFolder
:
'
$(Build.SourcesDirectory)/artifacts/TestResults/$(_BuildConfig)/Quarantined'
condition
:
always()
artifacts
:
-
name
:
Linux_Quarantined_Test_Logs
path
:
artifacts/log/
publishOnError
:
true
includeForks
:
true
-
name
:
Linux_Quarantined_Test_Results
path
:
artifacts/TestResults/
publishOnError
:
true
includeForks
:
true
此差异已折叠。
点击以展开。
预览
0%
加载中
请重试
或
添加新附件
.
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
保存评论
取消
想要评论请
注册
或
登录