-
Notifications
You must be signed in to change notification settings - Fork 41
/
CSharpJobTemplate.yml
68 lines (66 loc) · 1.88 KB
/
CSharpJobTemplate.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
# JOB LEVEL TEMPLATE:
# Used to build CSharp
# Reusable
# Meant to be run from the single CSharpTemplate pipeline (default), or
# from a multi-pipeline such as publishing (should specify alternate params)
parameters:
- name: ApiSpecSource
displayName: ApiSpecSource
type: string
default: -apiSpecGitUrl https://raw.githubusercontent.com/PlayFab/API_Specs/master/
- name: CommitMessage
displayName: CommitMessage
type: string
default: Automated build from ADO Pipeline
- name: GitDestBranch
displayName: GitDestBranch
type: string
default: doNotCommit
- name: GitJSetupBranch
displayName: GitJSetupBranch
type: string
default: master
- name: GitSdkGenBranch
displayName: GitSdkGenBranch
type: string
default: master
- name: isVersioned
displayName: isVersioned
type: boolean
default: false
- name: TestCompile
displayName: TestCompile
type: boolean
default: true
- name: TestWin32NetCore
displayName: TestWin32NetCore
type: boolean
default: true
- name: TestWin32Basic
displayName: TestWin32Basic
type: boolean
default: true
- name: SelfTemplateResource
displayName: SelfTemplateResource
type: string
default: self
jobs:
- job: CSharpJobTemplate
steps:
- bash: echo CSharpJobTemplate
- job: CSharpTemplate
pool:
vmImage: 'windows-latest'
steps:
- template: CSharpStepTemplate.yml
parameters:
ApiSpecSource: ${{ parameters.ApiSpecSource }}
CommitMessage: ${{ parameters.CommitMessage }}
GitDestBranch: ${{ parameters.GitDestBranch }}
GitJSetupBranch: ${{ parameters.GitJSetupBranch }}
GitSdkGenBranch: ${{ parameters.GitSdkGenBranch }}
isVersioned: ${{ parameters.isVersioned }}
TestCompile: ${{ parameters.TestCompile }}
TestWin32NetCore: ${{ parameters.TestWin32NetCore }}
TestWin32Basic: ${{ parameters.TestWin32Basic }}
SelfTemplateResource: ${{ parameters.SelfTemplateResource }}