Azure – Pipeline InformationAzure –
- script: |
echo "Pipeline Information:"
echo "---------------------"
echo "Azure DevOps Organization: $(System.CollectionUri)"
echo "Azure DevOps Project: $(System.TeamProject)"
echo "Pipeline Triggered By: $(Build.RequestedFor)"
echo "Triggered By User Email: $(Build.RequestedForEmail)"
echo "Triggered By User ID: $(Build.RequestedForId)"
echo "Pipeline Execution Directory: $(System.DefaultWorkingDirectory)"
echo "Build Source Branch: $(Build.SourceBranch)"
echo "Build Repository Name: $(Build.Repository.Name)"
echo "Build Repository ID: $(Build.Repository.ID)"
echo "Build Repository Type: $(Build.Repository.Provider)"
echo "Build Repository URL: $(Build.Repository.Uri)"
echo "Build Definition Name: $(Build.DefinitionName)"
echo "Build Build Number: $(Build.BuildNumber)"
echo "Build Build ID: $(Build.BuildID)"
echo "Build Build URI: $(Build.BuildUri)"
echo "Build Source Version: $(Build.SourceVersion)"
echo "Build Source Version Message: $(Build.SourceVersionMessage)"
echo "Build Source Branch Name: $(Build.SourceBranchName)"
echo "Build Source Version Author: $(Build.SourceVersionAuthor)"
echo "Build Reason: $(Build.Reason)"
echo "Build Repository Clean: $(Build.Repository.Clean)"
echo "------------------"
echo "Agent Information:"
echo "------------------"
echo "Agent.Name: $(Agent.Name)"
echo "Agent.OS: $(Agent.OS)"
echo "Agent.Version: $(Agent.Version)"
echo "Agent.WorkFolder: $(Agent.WorkFolder)"
echo "Agent.ToolsDirectory: $(Agent.ToolsDirectory)"
echo "Agent.TempDirectory: $(Agent.TempDirectory)"
echo "Agent.HomeDirectory: $(Agent.HomeDirectory)"
echo "------------------"
displayName: 'Print Pipeline Information'
Categories: Genel