2021-09-25 02:32:04 +03:00
|
|
|
variables:
|
|
|
|
BuildParameters.RestoreBuildProjects: '**/*.csproj'
|
|
|
|
BuildConfiguration: release
|
|
|
|
BuildPlatform: anycpu
|
2022-11-01 03:37:15 +03:00
|
|
|
Codeql.Enabled: true
|
2021-09-25 02:32:04 +03:00
|
|
|
trigger:
|
|
|
|
branches:
|
|
|
|
include:
|
|
|
|
- '*'
|
|
|
|
batch: True
|
|
|
|
name: $(date:yyyyMMdd)$(rev:.r)
|
|
|
|
resources:
|
|
|
|
repositories:
|
|
|
|
- repository: self
|
|
|
|
type: git
|
|
|
|
ref: main
|
2024-03-26 19:12:30 +03:00
|
|
|
- repository: 1ESPipelineTemplates
|
|
|
|
type: git
|
|
|
|
name: 1ESPipelineTemplates/1ESPipelineTemplates
|
|
|
|
ref: refs/tags/release
|
|
|
|
extends:
|
|
|
|
template: v1/1ES.Official.PipelineTemplate.yml@1ESPipelineTemplates
|
|
|
|
parameters:
|
|
|
|
pool:
|
2024-07-10 06:31:33 +03:00
|
|
|
name: AzurePipelines-EO
|
|
|
|
image: 1ESPT-Windows2022
|
2024-03-26 19:12:30 +03:00
|
|
|
os: windows
|
|
|
|
customBuildTags:
|
|
|
|
- ES365AIMigrationTooling
|
|
|
|
stages:
|
|
|
|
- stage: stage
|
|
|
|
jobs:
|
|
|
|
- job: Phase_1
|
|
|
|
displayName: Agent job 1
|
|
|
|
timeoutInMinutes: 0
|
|
|
|
templateContext:
|
|
|
|
outputs:
|
|
|
|
- output: pipelineArtifact
|
|
|
|
displayName: 'Publish Artifacts'
|
|
|
|
artifactName: 'website-thanks-data'
|
|
|
|
targetPath: $(build.artifactstagingdirectory)
|
|
|
|
steps:
|
|
|
|
- checkout: self
|
|
|
|
- task: UseDotNet@2
|
|
|
|
displayName: Use .NET 8 SDK
|
|
|
|
inputs:
|
|
|
|
version: 8.x
|
|
|
|
includePreviewVersions: true
|
|
|
|
- task: DotNetCoreCLI@2
|
|
|
|
displayName: Build
|
|
|
|
inputs:
|
|
|
|
projects: $(BuildParameters.RestoreBuildProjects)
|
|
|
|
arguments: --configuration $(BuildConfiguration)
|
|
|
|
- task: DotNetCoreCLI@2
|
|
|
|
displayName: 'Publish'
|
|
|
|
inputs:
|
|
|
|
command: publish
|
|
|
|
publishWebProjects: false
|
|
|
|
arguments: '--configuration $(BuildConfiguration) --output $(Build.ArtifactStagingDirectory)'
|
2024-07-10 06:31:33 +03:00
|
|
|
zipAfterPublish: True
|