Skip to content

Commit

Permalink
Update variables
Browse files Browse the repository at this point in the history
  • Loading branch information
anveshmuppeda committed Apr 20, 2024
1 parent cb72252 commit 349567c
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
6 changes: 5 additions & 1 deletion pipelines/variables/02-pre-defined-variable.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,9 @@ stages:
- job: BuildJob
displayName: "Build Job"
steps:
- script: echo "Building on branch $(Build.SourceBranch)"
- script: |
echo "Building on branch $(Build.SourceBranch)"
echo "Current build number: $(Build.BuildNumber)"
echo "Source branch: $(Build.SourceBranch)"
echo "Definition name: $(Build.DefinitionName)"
displayName: "Pre Defined"
4 changes: 3 additions & 1 deletion pipelines/variables/06-environment-variable.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,7 @@ stages:
- job: BuildJob
displayName: "Build Job"
steps:
- script: echo "The current working directory is ${{ BUILD_SOURCESDIRECTORY }}"
- script: |
echo "Current working directory: $PWD"
echo "User home directory: $HOME"
displayName: "Env variable"

0 comments on commit 349567c

Please sign in to comment.