You can not select more than 25 topics Topics must start with a chinese character,a letter or number, can include dashes ('-') and can be up to 35 characters long.

azure-pipelines.yml 645 B

123456789101112131415161718192021222324252627282930313233
  1. variables:
  2. buildConfiguration: Release
  3. buildTag: $[ startsWith(variables['Build.SourceBranch'], 'refs/tags') ]
  4. buildNumber: $[ variables['Build.BuildNumber'] ]
  5. suffix: $(Date:yyyyMMdd)
  6. trigger:
  7. tags:
  8. include:
  9. - '*'
  10. branches:
  11. include:
  12. - '*'
  13. jobs:
  14. - job: Linux
  15. pool: default
  16. steps:
  17. - template: azure/build.yml
  18. - job: Linux_deploy
  19. pool: default
  20. condition: |
  21. and (
  22. succeeded(),
  23. or (
  24. eq(variables['Build.SourceBranch'], 'refs/heads/release/3.x'),
  25. eq(variables['buildTag'], True)
  26. )
  27. )
  28. steps:
  29. - template: azure/build.yml
  30. - template: azure/deploy.yml