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 618 B

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