Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
34 changes: 2 additions & 32 deletions .azuredevops/pipelines/build-and-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,28 +3,14 @@ name: "$(Build.DefinitionName) #$(Build.BuildId)"
trigger: none # Manual Publish
pr: none # GitHub Actions handle PRs

parameters:
- name: AgentPoolName
displayName: Agent pool name
type: string
default: ADO Windows Server 2022

- name: AgentName
displayName: Agent name - single char for any
type: string
default: " "

pool:
vmImage: windows-latest

resources:
repositories:
- repository: self
type: git

containers:
- container: Windows
image: base/mcr-dotnet-sdk-8.0-servercore-ltsc2022:release
endpoint: xperienceagentshub.azurecr.io

variables:
- name: SIGN_FILE
value: true
Expand All @@ -35,13 +21,6 @@ stages:
- job: Build
displayName: Build, Sign, and Pack

pool:
name: ${{ parameters.AgentPoolName }}
${{ if ne(length(parameters.AgentName), 1) }}:
demands:
- Agent.Name -equals ${{ parameters.AgentName }}
container: Windows

variables:
- group: Code Sign KV Auth

Expand Down Expand Up @@ -104,16 +83,7 @@ stages:
- deployment: PublishNuGetPackages
displayName: Publish NuGet packages

pool:
name: ${{ parameters.AgentPoolName }}
${{ if ne(length(parameters.AgentName), 1) }}:
demands:
- Agent.Name -equals ${{ parameters.AgentName }}
container: Windows

environment: integrations-release-nuget
workspace:
clean: all
strategy:
runOnce:
deploy:
Expand Down
Loading