Files
Backup/_NDGOV_CS/ITD.Cohesity/azure-pipelines.yml
T
Zack Meier 1d304511b8 update
2026-04-15 15:45:50 -05:00

33 lines
834 B
YAML

# Starter pipeline
# Start with a minimal pipeline that you can customize to build and deploy your code.
# Add steps that build, run tests, deploy, and more:
# https://aka.ms/yaml
trigger:
- main
pool:
vmImage: ubuntu-latest
variables:
fName: 'Cohesity-Package'
pyEnv: $(System.DefaultWorkingDirectory)/python
steps:
- task: ArchiveFiles@2
inputs:
rootFolderOrFile: '$(System.DefaultWorkingDirectory)'
includeRootFolder: false
archiveType: 'zip'
archiveFile: '$(Build.ArtifactStagingDirectory)/$(Build.BuildId).zip'
replaceExistingArchive: true
- task: rename@0
inputs:
Command: 'rename'
SourceFile: '$(Build.ArtifactStagingDirectory)/$(Build.BuildId).zip'
NewName: '$(fName).zip'
- upload: $(Build.ArtifactStagingDirectory)/$(fName).zip
displayName: 'Upload Package'
artifact: drop