MegaBites-AI/Windows-powershell
0372
1trigger: none2 3parameters: # parameters are shown up in ADO UI in a build queue time4 - name: 'debug'5 displayName: 'Enable debug output'6 type: boolean7 default: false8 - name: InternalSDKBlobURL9 displayName: URL to the blob having internal .NET SDK10 type: string11 default: ' '12 - name: ReleaseTagVar13 displayName: Release Tag14 type: string15 default: 'fromBranch'16 - name: SKIP_SIGNING17 displayName: Skip Signing18 type: string19 default: 'NO'20 - name: SkipPublish21 displayName: Skip Publishing to Nuget22 type: boolean23 default: false24 - name: SkipPSInfraInstallers25 displayName: Skip Copying Archives and Installers to PSInfrastructure Public Location26 type: boolean27 default: false28 - name: skipMSIXPublish29 displayName: Skip MSIX Publish30 type: boolean31 default: false32 33name: release-$(BUILD.SOURCEBRANCHNAME)-nonofficial-$(Build.BuildId)34 35variables:36 - template: ./pipelines/templates/variables/PowerShell-Release-Variables.yml@self37 parameters:38 debug: ${{ parameters.debug }}39 ReleaseTagVar: ${{ parameters.ReleaseTagVar }}40 41resources:42 repositories:43 - repository: onebranchTemplates44 type: git45 name: OneBranch.Pipelines/GovernedTemplates46 ref: refs/heads/main47 - repository: PSInternalTools48 type: git49 name: PowerShellCore/Internal-PowerShellTeam-Tools50 ref: refs/heads/master51 52 pipelines:53 - pipeline: CoOrdinatedBuildPipeline54 source: 'PowerShell-Coordinated_Packages-NonOfficial'55 56 # NOTE: The alias name "PSPackagesOfficial" is intentionally reused here even57 # for the NonOfficial pipeline source. Downstream shared templates (for example,58 # release-validate-sdk.yml and release-upload-buildinfo.yml) reference artifacts59 # using `download: PSPackagesOfficial`, so changing this alias would break them.60 - pipeline: PSPackagesOfficial61 source: 'PowerShell-Packages-NonOfficial'62 trigger:63 branches:64 include:65 - master66 - releases/*67 68extends:69 template: v2/OneBranch.NonOfficial.CrossPlat.yml@onebranchTemplates70 parameters:71 release:72 category: NonAzure73 featureFlags:74 WindowsHostVersion:75 Version: 202276 Network: KS377 incrementalSDLBinaryAnalysis: true78 cloudvault:79 enabled: false80 globalSdl:81 disableLegacyManifest: true82 # disabled Armory as we dont have any ARM templates to scan. It fails on some sample ARM templates.83 armory:84 enabled: false85 tsa:86 enabled: true87 credscan:88 enabled: true89 scanFolder: $(Build.SourcesDirectory)90 suppressionsFile: $(Build.SourcesDirectory)\.config\suppress.json91 binskim:92 break: false # always break the build on binskim issues in addition to TSA upload93 exactToolVersion: 4.4.294 policheck:95 break: true # always break the build on policheck issues. You can disable it by setting to 'false'96 # suppression:97 # suppressionFile: $(Build.SourcesDirectory)\.gdn\global.gdnsuppress98 tsaOptionsFile: .config\tsaoptions.json99 100 stages:101 - template: ./pipelines/templates/stages/PowerShell-Release-Stages.yml@self102 parameters:103 releaseEnvironment: Test104 SkipPublish: ${{ parameters.SkipPublish }}105 SkipPSInfraInstallers: ${{ parameters.SkipPSInfraInstallers }}106 skipMSIXPublish: ${{ parameters.skipMSIXPublish }}107 