.yml cleanup: lower true and false (#4757)
This commit is contained in:
Родитель
b7a30a4c23
Коммит
484a8e3f28
|
@ -114,7 +114,7 @@ configuration:
|
||||||
- isAction:
|
- isAction:
|
||||||
action: Created
|
action: Created
|
||||||
- isActivitySender:
|
- isActivitySender:
|
||||||
issueAuthor: True
|
issueAuthor: true
|
||||||
- hasLabel:
|
- hasLabel:
|
||||||
label: needs-author-feedback
|
label: needs-author-feedback
|
||||||
- isAssignedToSomeone
|
- isAssignedToSomeone
|
||||||
|
@ -131,7 +131,7 @@ configuration:
|
||||||
- isAction:
|
- isAction:
|
||||||
action: Created
|
action: Created
|
||||||
- isActivitySender:
|
- isActivitySender:
|
||||||
issueAuthor: True
|
issueAuthor: true
|
||||||
- hasLabel:
|
- hasLabel:
|
||||||
label: needs-author-feedback
|
label: needs-author-feedback
|
||||||
- not: isAssignedToSomeone
|
- not: isAssignedToSomeone
|
||||||
|
@ -161,7 +161,7 @@ configuration:
|
||||||
- isAction:
|
- isAction:
|
||||||
action: Created
|
action: Created
|
||||||
- isActivitySender:
|
- isActivitySender:
|
||||||
issueAuthor: True
|
issueAuthor: true
|
||||||
- hasLabel:
|
- hasLabel:
|
||||||
label: needs-author-feedback
|
label: needs-author-feedback
|
||||||
- isOpen
|
- isOpen
|
||||||
|
|
|
@ -1,13 +1,13 @@
|
||||||
parameters:
|
parameters:
|
||||||
- name: "SignOutput"
|
- name: "SignOutput"
|
||||||
type: boolean
|
type: boolean
|
||||||
default: False
|
default: false
|
||||||
- name: "IsOneBranch"
|
- name: "IsOneBranch"
|
||||||
type: boolean
|
type: boolean
|
||||||
default: True
|
default: true
|
||||||
- name: runStaticAnalysis
|
- name: runStaticAnalysis
|
||||||
type: boolean
|
type: boolean
|
||||||
default: True
|
default: true
|
||||||
|
|
||||||
stages:
|
stages:
|
||||||
- stage: Build
|
- stage: Build
|
||||||
|
|
|
@ -1,13 +1,13 @@
|
||||||
parameters:
|
parameters:
|
||||||
- name: "SignOutput"
|
- name: "SignOutput"
|
||||||
type: boolean
|
type: boolean
|
||||||
default: False
|
default: false
|
||||||
- name: "IsOneBranch"
|
- name: "IsOneBranch"
|
||||||
type: boolean
|
type: boolean
|
||||||
default: True
|
default: true
|
||||||
- name: runStaticAnalysis
|
- name: runStaticAnalysis
|
||||||
type: boolean
|
type: boolean
|
||||||
default: True
|
default: true
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- task: NuGetToolInstaller@1
|
- task: NuGetToolInstaller@1
|
||||||
|
@ -32,7 +32,7 @@ steps:
|
||||||
filePath: 'BuildAll.ps1'
|
filePath: 'BuildAll.ps1'
|
||||||
arguments: -AzureBuildStep "BuildAnyCPU"
|
arguments: -AzureBuildStep "BuildAnyCPU"
|
||||||
|
|
||||||
- ${{ if eq(parameters.runStaticAnalysis, 'True') }}:
|
- ${{ if eq(parameters.runStaticAnalysis, 'true') }}:
|
||||||
- task: SDLNativeRules@3
|
- task: SDLNativeRules@3
|
||||||
displayName: Run PREfast SDL Native Rules
|
displayName: Run PREfast SDL Native Rules
|
||||||
inputs:
|
inputs:
|
||||||
|
|
|
@ -1,13 +1,13 @@
|
||||||
parameters:
|
parameters:
|
||||||
- name: "SignOutput"
|
- name: "SignOutput"
|
||||||
type: boolean
|
type: boolean
|
||||||
default: False
|
default: false
|
||||||
- name: "IsOneBranch"
|
- name: "IsOneBranch"
|
||||||
type: boolean
|
type: boolean
|
||||||
default: True
|
default: true
|
||||||
- name: runStaticAnalysis
|
- name: runStaticAnalysis
|
||||||
type: boolean
|
type: boolean
|
||||||
default: True
|
default: true
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- task: NuGetToolInstaller@1
|
- task: NuGetToolInstaller@1
|
||||||
|
@ -70,7 +70,7 @@ steps:
|
||||||
filePath: 'BuildAll.ps1'
|
filePath: 'BuildAll.ps1'
|
||||||
arguments: -Platform "$(buildPlatform)" -Configuration "$(buildConfiguration)" -AzureBuildStep "BuildBinaries"
|
arguments: -Platform "$(buildPlatform)" -Configuration "$(buildConfiguration)" -AzureBuildStep "BuildBinaries"
|
||||||
|
|
||||||
- ${{ if eq(parameters.runStaticAnalysis, 'True') }}:
|
- ${{ if eq(parameters.runStaticAnalysis, 'true') }}:
|
||||||
- task: SDLNativeRules@3
|
- task: SDLNativeRules@3
|
||||||
displayName: Run PREfast SDL Native Rules
|
displayName: Run PREfast SDL Native Rules
|
||||||
condition: and(succeeded(), eq(variables['buildConfiguration'], 'Release'), eq(variables['buildPlatform'], 'x64'))
|
condition: and(succeeded(), eq(variables['buildConfiguration'], 'Release'), eq(variables['buildPlatform'], 'x64'))
|
||||||
|
|
|
@ -1,22 +1,22 @@
|
||||||
parameters:
|
parameters:
|
||||||
- name: SignOutput
|
- name: SignOutput
|
||||||
type: boolean
|
type: boolean
|
||||||
default: False
|
default: false
|
||||||
- name: IsOfficial
|
- name: IsOfficial
|
||||||
type: boolean
|
type: boolean
|
||||||
default: False
|
default: false
|
||||||
- name: IsOneBranch
|
- name: IsOneBranch
|
||||||
type: boolean
|
type: boolean
|
||||||
default: False
|
default: false
|
||||||
- name: runStaticAnalysis
|
- name: runStaticAnalysis
|
||||||
type: boolean
|
type: boolean
|
||||||
default: False
|
default: false
|
||||||
- name: UseCurrentBuild
|
- name: UseCurrentBuild
|
||||||
type: boolean
|
type: boolean
|
||||||
default: False
|
default: false
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- ${{ if eq(parameters.UseCurrentBuild, 'True') }}:
|
- ${{ if eq(parameters.UseCurrentBuild, 'true') }}:
|
||||||
- task: DownloadPipelineArtifact@2
|
- task: DownloadPipelineArtifact@2
|
||||||
displayName: 'Download WindowsAppSDK From Current Build'
|
displayName: 'Download WindowsAppSDK From Current Build'
|
||||||
inputs:
|
inputs:
|
||||||
|
@ -210,10 +210,10 @@ steps:
|
||||||
platform: '$(buildPlatform)'
|
platform: '$(buildPlatform)'
|
||||||
configuration: '$(buildConfiguration)'
|
configuration: '$(buildConfiguration)'
|
||||||
msbuildArgs: /binaryLogger:$(ob_outputDirectory)\binlogs\WindowsAppRuntimeInstall.$(buildPlatform).$(buildConfiguration).binlog
|
msbuildArgs: /binaryLogger:$(ob_outputDirectory)\binlogs\WindowsAppRuntimeInstall.$(buildPlatform).$(buildConfiguration).binlog
|
||||||
${{ if eq( parameters.runStaticAnalysis, 'True') }}:
|
${{ if eq( parameters.runStaticAnalysis, 'true') }}:
|
||||||
createLogFile: true
|
createLogFile: true
|
||||||
|
|
||||||
- ${{ if eq(parameters.runStaticAnalysis, 'True') }}:
|
- ${{ if eq(parameters.runStaticAnalysis, 'true') }}:
|
||||||
- task: SDLNativeRules@3
|
- task: SDLNativeRules@3
|
||||||
condition: and(succeeded(), eq(variables['buildConfiguration'], 'Release'), eq(variables['buildPlatform'], 'x64'))
|
condition: and(succeeded(), eq(variables['buildConfiguration'], 'Release'), eq(variables['buildPlatform'], 'x64'))
|
||||||
displayName: Run the PREfast SDL Native Rules
|
displayName: Run the PREfast SDL Native Rules
|
||||||
|
|
|
@ -1,13 +1,13 @@
|
||||||
parameters:
|
parameters:
|
||||||
- name: "SignOutput"
|
- name: "SignOutput"
|
||||||
type: boolean
|
type: boolean
|
||||||
default: False
|
default: false
|
||||||
- name: "IsOneBranch"
|
- name: "IsOneBranch"
|
||||||
type: boolean
|
type: boolean
|
||||||
default: True
|
default: true
|
||||||
- name: runStaticAnalysis
|
- name: runStaticAnalysis
|
||||||
type: boolean
|
type: boolean
|
||||||
default: True
|
default: true
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- template: WindowsAppSDK-SetupBuildEnvironment-Steps.yml
|
- template: WindowsAppSDK-SetupBuildEnvironment-Steps.yml
|
||||||
|
@ -29,7 +29,7 @@ steps:
|
||||||
filePath: 'BuildAll.ps1'
|
filePath: 'BuildAll.ps1'
|
||||||
arguments: -Platform "$(buildPlatform)" -Configuration "$(buildConfiguration)" -AzureBuildStep "BuildMRT"
|
arguments: -Platform "$(buildPlatform)" -Configuration "$(buildConfiguration)" -AzureBuildStep "BuildMRT"
|
||||||
|
|
||||||
- ${{ if eq(parameters.runStaticAnalysis, 'True') }}:
|
- ${{ if eq(parameters.runStaticAnalysis, 'true') }}:
|
||||||
- task: SDLNativeRules@3
|
- task: SDLNativeRules@3
|
||||||
displayName: Run PREfast SDL Native Rules
|
displayName: Run PREfast SDL Native Rules
|
||||||
condition: and(succeeded(), eq(variables['buildPlatform'], 'x64'), eq(variables['buildConfiguration'], 'Release'))
|
condition: and(succeeded(), eq(variables['buildPlatform'], 'x64'), eq(variables['buildConfiguration'], 'Release'))
|
||||||
|
|
|
@ -1,19 +1,19 @@
|
||||||
parameters:
|
parameters:
|
||||||
- name: SignOutput
|
- name: SignOutput
|
||||||
type: boolean
|
type: boolean
|
||||||
default: False
|
default: false
|
||||||
- name: IsOneBranch
|
- name: IsOneBranch
|
||||||
type: boolean
|
type: boolean
|
||||||
default: False
|
default: false
|
||||||
- name: IsOfficial
|
- name: IsOfficial
|
||||||
type: boolean
|
type: boolean
|
||||||
default: False
|
default: false
|
||||||
- name: runStaticAnalysis
|
- name: runStaticAnalysis
|
||||||
type: boolean
|
type: boolean
|
||||||
default: True
|
default: true
|
||||||
- name: UseCurrentBuild
|
- name: UseCurrentBuild
|
||||||
type: boolean
|
type: boolean
|
||||||
default: False
|
default: false
|
||||||
- name: OptionalVSIXVersion
|
- name: OptionalVSIXVersion
|
||||||
# if blank, the project template will select the version matching the Windows App SDK
|
# if blank, the project template will select the version matching the Windows App SDK
|
||||||
# nuget. If provided, it should be a 4-part dotted version ('1.2.3.4')
|
# nuget. If provided, it should be a 4-part dotted version ('1.2.3.4')
|
||||||
|
@ -21,10 +21,10 @@ parameters:
|
||||||
default: 'default'
|
default: 'default'
|
||||||
- name: EnableExperimentalVSIXFeatures
|
- name: EnableExperimentalVSIXFeatures
|
||||||
type: boolean
|
type: boolean
|
||||||
default: False
|
default: false
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- ${{ if eq(parameters.UseCurrentBuild, 'True') }}:
|
- ${{ if eq(parameters.UseCurrentBuild, 'true') }}:
|
||||||
- task: DownloadPipelineArtifact@2
|
- task: DownloadPipelineArtifact@2
|
||||||
displayName: 'Download WindowsAppSDK From Current Build'
|
displayName: 'Download WindowsAppSDK From Current Build'
|
||||||
inputs:
|
inputs:
|
||||||
|
@ -107,10 +107,10 @@ steps:
|
||||||
platform: 'Any CPU'
|
platform: 'Any CPU'
|
||||||
configuration: '$(buildConfiguration)'
|
configuration: '$(buildConfiguration)'
|
||||||
msBuildArgs: '/p:OptionalVSIXVersion="${{ parameters.OptionalVSIXVersion }}" /p:WindowsAppSDKVersion="$(WindowsAppSDKPackageVersion)" /p:EnableExperimentalVSIXFeatures="${{ parameters.EnableExperimentalVSIXFeatures }}" /binaryLogger:$(ob_outputDirectory)\binlogs\StandaloneVSIX.binlog'
|
msBuildArgs: '/p:OptionalVSIXVersion="${{ parameters.OptionalVSIXVersion }}" /p:WindowsAppSDKVersion="$(WindowsAppSDKPackageVersion)" /p:EnableExperimentalVSIXFeatures="${{ parameters.EnableExperimentalVSIXFeatures }}" /binaryLogger:$(ob_outputDirectory)\binlogs\StandaloneVSIX.binlog'
|
||||||
${{ if eq( parameters.runStaticAnalysis, 'True') }}:
|
${{ if eq( parameters.runStaticAnalysis, 'true') }}:
|
||||||
createLogFile: true
|
createLogFile: true
|
||||||
|
|
||||||
- ${{ if eq(parameters.runStaticAnalysis, 'True') }}:
|
- ${{ if eq(parameters.runStaticAnalysis, 'true') }}:
|
||||||
- task: SDLNativeRules@3
|
- task: SDLNativeRules@3
|
||||||
displayName: PREfast SDL Native Rules for Standalone WindowsAppSDK.Extension.sln
|
displayName: PREfast SDL Native Rules for Standalone WindowsAppSDK.Extension.sln
|
||||||
condition: and(succeeded(), eq(variables['buildConfiguration'], 'Release'))
|
condition: and(succeeded(), eq(variables['buildConfiguration'], 'Release'))
|
||||||
|
@ -139,10 +139,10 @@ steps:
|
||||||
platform: 'Any CPU'
|
platform: 'Any CPU'
|
||||||
configuration: '$(buildConfiguration)'
|
configuration: '$(buildConfiguration)'
|
||||||
msBuildArgs: '/restore /p:OptionalVSIXVersion="${{ parameters.OptionalVSIXVersion }}" /p:WindowsAppSDKVersion="$(WindowsAppSDKPackageVersion)" /p:EnableExperimentalVSIXFeatures="${{ parameters.EnableExperimentalVSIXFeatures }}" /p:Deployment="Component" /binaryLogger:$(ob_outputDirectory)\binlogs\ComponentVSIX.binlog'
|
msBuildArgs: '/restore /p:OptionalVSIXVersion="${{ parameters.OptionalVSIXVersion }}" /p:WindowsAppSDKVersion="$(WindowsAppSDKPackageVersion)" /p:EnableExperimentalVSIXFeatures="${{ parameters.EnableExperimentalVSIXFeatures }}" /p:Deployment="Component" /binaryLogger:$(ob_outputDirectory)\binlogs\ComponentVSIX.binlog'
|
||||||
${{ if eq( parameters.runStaticAnalysis, 'True') }}:
|
${{ if eq( parameters.runStaticAnalysis, 'true') }}:
|
||||||
createLogFile: true
|
createLogFile: true
|
||||||
|
|
||||||
- ${{ if eq(parameters.runStaticAnalysis, 'True') }}:
|
- ${{ if eq(parameters.runStaticAnalysis, 'true') }}:
|
||||||
- task: SDLNativeRules@3
|
- task: SDLNativeRules@3
|
||||||
displayName: PREfast SDL Native Rules for Component WindowsAppSDK.Extension.sln
|
displayName: PREfast SDL Native Rules for Component WindowsAppSDK.Extension.sln
|
||||||
condition: and(succeeded(), eq(variables['buildConfiguration'], 'Release'))
|
condition: and(succeeded(), eq(variables['buildConfiguration'], 'Release'))
|
||||||
|
@ -162,22 +162,22 @@ steps:
|
||||||
scanType: 'Register'
|
scanType: 'Register'
|
||||||
failOnAlert: true
|
failOnAlert: true
|
||||||
|
|
||||||
- ${{ if eq(parameters.SignOutput, False) }}:
|
- ${{ if eq(parameters.SignOutput, false) }}:
|
||||||
- task: CopyFiles@2
|
- task: CopyFiles@2
|
||||||
displayName: 'Stage unsigned VSIX files for publishing'
|
displayName: 'Stage unsigned VSIX files for publishing'
|
||||||
inputs:
|
inputs:
|
||||||
SourceFolder: '$(FoundationRepoPath)dev\VSIX\BuildOutput\obj\AnyCPU$(buildConfiguration)'
|
SourceFolder: '$(FoundationRepoPath)dev\VSIX\BuildOutput\obj\AnyCPU$(buildConfiguration)'
|
||||||
Contents: '**/WindowsAppSDK.*.vsix'
|
Contents: '**/WindowsAppSDK.*.vsix'
|
||||||
flattenFolders: True
|
flattenFolders: true
|
||||||
TargetFolder: '$(ob_outputDirectory)\VSIX'
|
TargetFolder: '$(ob_outputDirectory)\VSIX'
|
||||||
|
|
||||||
- ${{ if eq(parameters.SignOutput, True) }}:
|
- ${{ if eq(parameters.SignOutput, true) }}:
|
||||||
- task: CopyFiles@2
|
- task: CopyFiles@2
|
||||||
displayName: 'Stage unsigned VSIX files for signing'
|
displayName: 'Stage unsigned VSIX files for signing'
|
||||||
inputs:
|
inputs:
|
||||||
SourceFolder: '$(FoundationRepoPath)dev\VSIX\BuildOutput\obj\AnyCPU$(buildConfiguration)'
|
SourceFolder: '$(FoundationRepoPath)dev\VSIX\BuildOutput\obj\AnyCPU$(buildConfiguration)'
|
||||||
Contents: '**/WindowsAppSDK.*.vsix'
|
Contents: '**/WindowsAppSDK.*.vsix'
|
||||||
flattenFolders: True
|
flattenFolders: true
|
||||||
TargetFolder: '$(Agent.TempDirectory)/UnsignedVSIX'
|
TargetFolder: '$(Agent.TempDirectory)/UnsignedVSIX'
|
||||||
|
|
||||||
- template: WindowsAppSDK-SignPackageContents-steps.yml
|
- template: WindowsAppSDK-SignPackageContents-steps.yml
|
||||||
|
@ -205,7 +205,7 @@ steps:
|
||||||
inputs:
|
inputs:
|
||||||
SourceFolder: '$(FoundationRepoPath)dev\VSIX\BuildOutput\obj\AnyCPU$(buildConfiguration)'
|
SourceFolder: '$(FoundationRepoPath)dev\VSIX\BuildOutput\obj\AnyCPU$(buildConfiguration)'
|
||||||
Contents: '**/WindowsAppSDK*.pdb'
|
Contents: '**/WindowsAppSDK*.pdb'
|
||||||
flattenFolders: True
|
flattenFolders: true
|
||||||
TargetFolder: '$(ob_outputDirectory)\symbols'
|
TargetFolder: '$(ob_outputDirectory)\symbols'
|
||||||
|
|
||||||
- task: CopyFiles@2
|
- task: CopyFiles@2
|
||||||
|
@ -213,7 +213,7 @@ steps:
|
||||||
inputs:
|
inputs:
|
||||||
SourceFolder: '$(FoundationRepoPath)dev\VSIX\BuildOutput\obj\AnyCPU$(buildConfiguration)'
|
SourceFolder: '$(FoundationRepoPath)dev\VSIX\BuildOutput\obj\AnyCPU$(buildConfiguration)'
|
||||||
Contents: '**/WindowsAppSDK.*.Component.json'
|
Contents: '**/WindowsAppSDK.*.Component.json'
|
||||||
flattenFolders: True
|
flattenFolders: true
|
||||||
TargetFolder: '$(ob_outputDirectory)'
|
TargetFolder: '$(ob_outputDirectory)'
|
||||||
|
|
||||||
- task: CopyFiles@2
|
- task: CopyFiles@2
|
||||||
|
@ -221,7 +221,7 @@ steps:
|
||||||
inputs:
|
inputs:
|
||||||
SourceFolder: '$(FoundationRepoPath)dev\VSIX'
|
SourceFolder: '$(FoundationRepoPath)dev\VSIX'
|
||||||
Contents: 'extension.manifest.json'
|
Contents: 'extension.manifest.json'
|
||||||
flattenFolders: True
|
flattenFolders: true
|
||||||
TargetFolder: '$(ob_outputDirectory)'
|
TargetFolder: '$(ob_outputDirectory)'
|
||||||
|
|
||||||
- task: CopyFiles@2
|
- task: CopyFiles@2
|
||||||
|
@ -229,7 +229,7 @@ steps:
|
||||||
inputs:
|
inputs:
|
||||||
SourceFolder: '$(FoundationRepoPath)dev\VSIX'
|
SourceFolder: '$(FoundationRepoPath)dev\VSIX'
|
||||||
Contents: 'overview.md'
|
Contents: 'overview.md'
|
||||||
flattenFolders: True
|
flattenFolders: true
|
||||||
TargetFolder: '$(ob_outputDirectory)'
|
TargetFolder: '$(ob_outputDirectory)'
|
||||||
|
|
||||||
- ${{ if ne(parameters.IsOneBranch, 'true') }}:
|
- ${{ if ne(parameters.IsOneBranch, 'true') }}:
|
||||||
|
|
|
@ -1,19 +1,19 @@
|
||||||
parameters:
|
parameters:
|
||||||
- name: "PublishPackage"
|
- name: "PublishPackage"
|
||||||
type: boolean
|
type: boolean
|
||||||
default: True
|
default: true
|
||||||
- name: "SignOutput"
|
- name: "SignOutput"
|
||||||
type: boolean
|
type: boolean
|
||||||
default: True
|
default: true
|
||||||
- name: "IsOneBranch"
|
- name: "IsOneBranch"
|
||||||
type: boolean
|
type: boolean
|
||||||
default: True
|
default: true
|
||||||
- name: "IsOfficial"
|
- name: "IsOfficial"
|
||||||
type: boolean
|
type: boolean
|
||||||
default: False
|
default: false
|
||||||
- name: "BuildMockWindowsAppSDK"
|
- name: "BuildMockWindowsAppSDK"
|
||||||
type: boolean
|
type: boolean
|
||||||
default: True
|
default: true
|
||||||
|
|
||||||
stages:
|
stages:
|
||||||
- stage: Pack
|
- stage: Pack
|
||||||
|
|
|
@ -1,10 +1,10 @@
|
||||||
parameters:
|
parameters:
|
||||||
- name: "PublishToMaestro"
|
- name: "PublishToMaestro"
|
||||||
type: boolean
|
type: boolean
|
||||||
default: True
|
default: true
|
||||||
- name: "IgnoreFailures"
|
- name: "IgnoreFailures"
|
||||||
type: boolean
|
type: boolean
|
||||||
default: True
|
default: true
|
||||||
stages:
|
stages:
|
||||||
- stage: Publish
|
- stage: Publish
|
||||||
dependsOn:
|
dependsOn:
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
parameters:
|
parameters:
|
||||||
- name: "IsOneBranch"
|
- name: "IsOneBranch"
|
||||||
type: boolean
|
type: boolean
|
||||||
default: True
|
default: true
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- task: UseDotNet@2
|
- task: UseDotNet@2
|
||||||
|
|
|
@ -21,14 +21,14 @@ stages:
|
||||||
|
|
||||||
- template: AzurePipelinesTemplates\WindowsAppSDK-Build-Stage.yml@self
|
- template: AzurePipelinesTemplates\WindowsAppSDK-Build-Stage.yml@self
|
||||||
parameters:
|
parameters:
|
||||||
SignOutput: False
|
SignOutput: false
|
||||||
IsOneBranch: False
|
IsOneBranch: false
|
||||||
|
|
||||||
- template: AzurePipelinesTemplates\WindowsAppSDK-Test-Stage.yml@self
|
- template: AzurePipelinesTemplates\WindowsAppSDK-Test-Stage.yml@self
|
||||||
|
|
||||||
- template: AzurePipelinesTemplates\WindowsAppSDK-PackTransportPackage-Stage.yml@self
|
- template: AzurePipelinesTemplates\WindowsAppSDK-PackTransportPackage-Stage.yml@self
|
||||||
parameters:
|
parameters:
|
||||||
SignOutput: False
|
SignOutput: false
|
||||||
PublishPackage: False
|
PublishPackage: false
|
||||||
IsOneBranch: False
|
IsOneBranch: false
|
||||||
BuildMockWindowsAppSDK: False
|
BuildMockWindowsAppSDK: false
|
||||||
|
|
|
@ -23,17 +23,17 @@ trigger: none
|
||||||
parameters:
|
parameters:
|
||||||
- name: "PublishToMaestro"
|
- name: "PublishToMaestro"
|
||||||
type: boolean
|
type: boolean
|
||||||
default: True
|
default: true
|
||||||
- name: "IgnoreFailures"
|
- name: "IgnoreFailures"
|
||||||
type: boolean
|
type: boolean
|
||||||
default: False
|
default: false
|
||||||
- name: "SignOutput"
|
- name: "SignOutput"
|
||||||
type: boolean
|
type: boolean
|
||||||
default: True
|
default: true
|
||||||
- name: runStaticAnalysis
|
- name: runStaticAnalysis
|
||||||
displayName: "Run Static Analysis (e.g., PREFast, APIScan)"
|
displayName: "Run Static Analysis (e.g., PREFast, APIScan)"
|
||||||
type: boolean
|
type: boolean
|
||||||
default: True
|
default: true
|
||||||
|
|
||||||
resources:
|
resources:
|
||||||
repositories:
|
repositories:
|
||||||
|
@ -87,7 +87,7 @@ extends:
|
||||||
enabled: true
|
enabled: true
|
||||||
break: true
|
break: true
|
||||||
prefast:
|
prefast:
|
||||||
${{ if eq(parameters.runStaticAnalysis, 'True') }}:
|
${{ if eq(parameters.runStaticAnalysis, 'true') }}:
|
||||||
enabled: true
|
enabled: true
|
||||||
${{ else }}:
|
${{ else }}:
|
||||||
enabled: false
|
enabled: false
|
||||||
|
|
|
@ -23,17 +23,17 @@ trigger: none
|
||||||
parameters:
|
parameters:
|
||||||
- name: "PublishToMaestro"
|
- name: "PublishToMaestro"
|
||||||
type: boolean
|
type: boolean
|
||||||
default: True
|
default: true
|
||||||
- name: "IgnoreFailures"
|
- name: "IgnoreFailures"
|
||||||
type: boolean
|
type: boolean
|
||||||
default: False
|
default: false
|
||||||
- name: "SignOutput"
|
- name: "SignOutput"
|
||||||
type: boolean
|
type: boolean
|
||||||
default: True
|
default: true
|
||||||
- name: runStaticAnalysis
|
- name: runStaticAnalysis
|
||||||
displayName: "Run Static Analysis (e.g., PREFast, APIScan)"
|
displayName: "Run Static Analysis (e.g., PREFast, APIScan)"
|
||||||
type: boolean
|
type: boolean
|
||||||
default: True
|
default: true
|
||||||
|
|
||||||
resources:
|
resources:
|
||||||
repositories:
|
repositories:
|
||||||
|
@ -72,7 +72,7 @@ extends:
|
||||||
enabled: true
|
enabled: true
|
||||||
break: true
|
break: true
|
||||||
prefast:
|
prefast:
|
||||||
${{ if eq(parameters.runStaticAnalysis, 'True') }}:
|
${{ if eq(parameters.runStaticAnalysis, 'true') }}:
|
||||||
enabled: true
|
enabled: true
|
||||||
${{ else }}:
|
${{ else }}:
|
||||||
enabled: false
|
enabled: false
|
||||||
|
|
|
@ -24,7 +24,7 @@ parameters: # parameters are shown up in ADO UI in a build queue time
|
||||||
- name: runStaticAnalysis
|
- name: runStaticAnalysis
|
||||||
displayName: "Run Static Analysis (e.g., PREFast, APIScan)"
|
displayName: "Run Static Analysis (e.g., PREFast, APIScan)"
|
||||||
type: boolean
|
type: boolean
|
||||||
default: True
|
default: true
|
||||||
|
|
||||||
resources:
|
resources:
|
||||||
repositories:
|
repositories:
|
||||||
|
@ -64,7 +64,7 @@ extends:
|
||||||
enabled: true
|
enabled: true
|
||||||
break: true
|
break: true
|
||||||
prefast:
|
prefast:
|
||||||
${{ if eq(parameters.runStaticAnalysis, 'True') }}:
|
${{ if eq(parameters.runStaticAnalysis, 'true') }}:
|
||||||
enabled: true
|
enabled: true
|
||||||
${{ else }}:
|
${{ else }}:
|
||||||
enabled: false
|
enabled: false
|
||||||
|
|
Загрузка…
Ссылка в новой задаче