Azure DevOps: CD/CI

menos que 1 minuto(s) de leitura

  # # Existem dezenas de variáveis pré definidas
  # # https://learn.microsoft.com/pt-br/azure/devops/pipelines/build/variables
  # - script: |
  #     echo Add other tasks to build, test, and deploy your project.
  #     echo See https://aka.ms/yaml
  #     echo $
  #     echo ----------------------------
  #     echo Build.Id: $(Build.Id)
  #     echo Build.ArtifactStagingDirectory: $(Build.ArtifactStagingDirectory)
  #     echo Build.ArtifactsDirectory: $(Build.ArtifactsDirectory)
  #     echo Build.DefaultWorkingDirectory: $(Build.DefaultWorkingDirectory)
  #     echo Build.SourcesDirectory: $(Build.SourcesDirectory)
  #     echo Build.SourceBranch: $(Build.SourceBranch)
  #     echo Build.DefinitionName: $(Build.DefinitionName)
  #     echo ----------------------------
  #     echo System.ArtifactsDirectory: $(System.ArtifactsDirectory)
  #     echo ----------------------------
  #     echo artifactsPath: $(artifactsPath)
  #   displayName: 'Entendendo Variáveis'

  # # Pasta dos Artifacts
  # - script: |
  #     echo ArtifactStagingDirectory: $(Build.ArtifactStagingDirectory)

  #   displayName: 'Pasta dos Artifacts'
# Outros
# - script: echo Hello, world!
#   displayName: 'Run a one-line script'

# - script: |
#     echo Add other tasks to build, test, and deploy your project.
#     echo See https://aka.ms/yaml
#   displayName: 'Run a multi-line script'

Deixe um comentário