-
Notifications
You must be signed in to change notification settings - Fork 130
/
BCMToBilingualConverter.yml
77 lines (64 loc) · 2.03 KB
/
BCMToBilingualConverter.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
69
70
71
72
73
74
75
76
77
parameters:
- name : binariesPath
displayName: Binaries path (e.g Studio18 or Studio18Beta)
type: string
default: 'Studio18'
resources:
repositories:
- repository: SdlCommunity
type: github
name: RWS/Sdl-Community
ref: master
endpoint: FlaviuTritean
pipelines:
- pipeline: TradosStudio_Resource
project: TradosStudio
source: TradosStudio
- pipeline: Trigger_cte
source: TriggerCTE
trigger: true
trigger:
- none
variables:
- name: Solution
value: '**/BCMToBilingualConverter.sln'
- name: OutputFolder
value: 'C:\Program Files (x86)\Trados\Trados Studio\${{ parameters.binariesPath }}'
pool:
vmImage: windows latest
workspace:
clean: all
steps:
- checkout: SdlCommunity
- template: /build/DownloadBinariesForStudio.yml
- task: MSBuild@1
displayName: Build GitHub solutions using MSBuild
inputs:
solution: '$(Solution)'
msbuildArguments: '/p:Configuration=Debug /p:Platform="Any CPU" /flp:logfile=$(System.DefaultWorkingDirectory)/GitHubLogs/MyLog.log;append=true'
continueOnError: true
- template: build/PowerShellScripts/GenerateReport_ForCompileTimeError.yml
parameters:
directoryPath: '$(System.DefaultWorkingDirectory)\GitHubLogs'
resultPath: '$(System.DefaultWorkingDirectory)\GiteHubResult'
reportName: '\GiteHubReport.txt'
- task: CopyFiles@2
inputs:
SourceFolder: '$(System.DefaultWorkingDirectory)\GiteHubResult\'
Contents: '*.txt'
TargetFolder: '$(Build.ArtifactStagingDirectory)\GiteHubReport'
- task: PublishPipelineArtifact@1
inputs:
targetPath: '$(Build.ArtifactStagingDirectory)\GiteHubReport'
artifact: 'PublicRepoCompileTimeErrorReport'
publishLocation: 'pipeline'
- task: CopyFiles@2
inputs:
SourceFolder: '$(System.DefaultWorkingDirectory)\GiteHubLogs\'
Contents: 'MyLog.log'
TargetFolder: '$(Build.ArtifactStagingDirectory)\GiteHubReport'
- task: PublishPipelineArtifact@1
inputs:
targetPath: '$(Build.ArtifactStagingDirectory)\GiteHubReport'
artifact: 'MyLogFile'
publishLocation: 'pipeline'