File tree 5 files changed +41
-5
lines changed
5 files changed +41
-5
lines changed Original file line number Diff line number Diff line change @@ -177,7 +177,7 @@ stages:
177
177
artifactType : Container
178
178
parallel : true
179
179
180
- - job : Helix_Windows
180
+ - job : Helix
181
181
pool :
182
182
${{ if eq(variables['System.TeamProject'], 'public') }} :
183
183
name : NetCorePublic-Pool
@@ -191,8 +191,6 @@ stages:
191
191
- ${{ if eq(variables['System.TeamProject'], 'public') }} :
192
192
- name : HelixTargetQueues
193
193
value : Windows.10.Amd64.Open;Ubuntu.1804.Amd64.Open;OSX.1014.Amd64.Open
194
- - name : Creator
195
- value : efcore
196
194
- name : _HelixAccessToken
197
195
value : ' ' # Needed for public queues
198
196
- ${{ if ne(variables['System.TeamProject'], 'public') }} :
Original file line number Diff line number Diff line change 3
3
<HelixType >test/product/</HelixType >
4
4
<HelixBuild >$(BUILD_BUILDNUMBER)</HelixBuild >
5
5
<HelixTargetQueues >$(HelixTargetQueues)</HelixTargetQueues >
6
- <Creator >$(Creator) </Creator >
6
+ <Creator Condition = " '$(HelixAccessToken)' == '' " >efcore </Creator >
7
7
<HelixAccessToken >$(HelixAccessToken)</HelixAccessToken >
8
8
9
9
<IncludeDotNetCli >true</IncludeDotNetCli >
16
16
<FailOnMissionControlTestFailure >true</FailOnMissionControlTestFailure >
17
17
</PropertyGroup >
18
18
19
+ <PropertyGroup Condition = " '$(SYSTEM_ACCESSTOKEN)' == ''" >
20
+ <!-- Local build outside of Azure Pipeline -->
21
+ <HelixTargetQueues Condition = " '$(HelixTargetQueues)' == ''" >Windows.10.Amd64.Open;Ubuntu.1804.Amd64.Open;OSX.1014.Amd64.Open</HelixTargetQueues >
22
+ <EnableAzurePipelinesReporter >false</EnableAzurePipelinesReporter >
23
+ <FailOnMissionControlTestFailure >false</FailOnMissionControlTestFailure >
24
+ <HelixSource >efcore/localbuild/</HelixSource >
25
+ <HelixBuild >t001</HelixBuild >
26
+ </PropertyGroup >
27
+
19
28
<ItemGroup >
20
29
<XUnitProject Include =" $(RepoRoot)/test/**/*.csproj" />
21
30
<XUnitProject Remove =" $(RepoRoot)/test/EFCore.Specification.Tests/*.csproj" />
29
38
<XUnitArguments ></XUnitArguments >
30
39
<XUnitWorkItemTimeout >00:30:00</XUnitWorkItemTimeout >
31
40
</PropertyGroup >
32
- </Project >
41
+ </Project >
Original file line number Diff line number Diff line change
1
+ @ ECHO OFF
2
+
3
+ :: This command sends helix test job from local machine
4
+
5
+ SET DOTNET_ROOT = %~dp0 .dotnet\
6
+ SET BUILD_SOURCEBRANCH = " master"
7
+ SET BUILD_REPOSITORY_NAME = " efcore"
8
+ SET SYSTEM_TEAMPROJECT = " public"
9
+ SET BUILD_REASON = " test"
10
+
11
+ IF NOT EXIST " %DOTNET_ROOT% \dotnet.exe" (
12
+ call dotnet msbuild eng\helix.proj /restore /t:Test %*
13
+ ) ELSE (
14
+ call %DOTNET_ROOT% \dotnet.exe msbuild eng\helix.proj /restore /t:Test %*
15
+ )
Original file line number Diff line number Diff line change
1
+ #! /usr/bin/env bash
2
+
3
+ # This command sends helix test job from local machine
4
+
5
+ export BUILD_SOURCEBRANCH=" master"
6
+ export BUILD_REPOSITORY_NAME=" efcore"
7
+ export SYSTEM_TEAMPROJECT=" public"
8
+ export BUILD_REASON=" test"
9
+
10
+ if [[ ! -f " .dotnet/dotnet" ]]; then
11
+ dotnet msbuild eng/helix.proj /restore /t:Test " $@ "
12
+ else
13
+ .dotnet/dotnet msbuild eng/helix.proj /restore /t:Test " $@ "
14
+ fi
You can’t perform that action at this time.
0 commit comments