Skip to content

Commit

Permalink
mock perf
Browse files Browse the repository at this point in the history
  • Loading branch information
sasorrentino committed Aug 4, 2022
1 parent 691f2a8 commit f3ee0ae
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .nexiazuredevops/pipeline-build-and-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,8 @@ stages:
inputs:
targetType: 'inline'
script: |
version=$(cat pom.xml | grep '^.*<version>' | sed -n 2p | awk -F'[><]' '{print $3}')
APP_VERSION=$(cat pom.xml | grep '^.*<version>' | sed -n 2p | awk -F'[><]' '{print $3}')
echo $APP_VERSION
echo "##vso[task.setvariable variable=APP_VERSION;isOutput=true]$APP_VERSION"
failOnStderr: true

Expand Down

0 comments on commit f3ee0ae

Please sign in to comment.