Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,6 @@ steps:
displayName: Generate sdk

- bash: |
#TODO: delete this bash
echo "check output dir"
ls /tmp/output
echo "show docker.log"
Expand Down Expand Up @@ -100,4 +99,4 @@ steps:
echo "show mockTestOutput.json"
cat /tmp/output/mockTestOutput.json | echo "don't quite even failed"
displayName: Check output dir
condition: always()
condition: ne('$(DEBUGMODE)', 'true')
Original file line number Diff line number Diff line change
Expand Up @@ -45,21 +45,6 @@ steps:
displayName: Parse task result
condition: always()

- bash: |
#TODO: delete this bash
ls -al /tmp/output/
echo "show generateAndBuild-task-result.json"
cat /tmp/output/generateAndBuild-task-result.json | echo "don't quite even failed"
displayName: Check output dir
condition: always()

- bash: |
#TODO: delete this bash
echo "will show git info"
git status
displayName: Show git info
workingDirectory: $(SDK_REPO)

- bash: |
echo "will create PR"
git config --global user.email "$(GIT_USER_EMAIL)"
Expand All @@ -83,7 +68,6 @@ steps:
fi
git checkout -b ${branchName}
pushSdkRepoUrl=$(echo $(sdkRepoUrl) | sed "s#https://#https://$(REPO_OWNER):$(azuresdk-github-pat)@#")
#TODO: push PR to Azure if is release to Azure no Azure SDK
pushSdkRepoUrl=$(echo ${pushSdkRepoUrl} | sed "s#$(SDK_OWNER)#$(SDK_PUSH_OWNER)#")
git push ${pushSdkRepoUrl} --force
echo "git push finished:$?"
Expand Down Expand Up @@ -138,7 +122,7 @@ steps:
"/tmp/output/generateAndBuild-task-result.json",
"/tmp/output/mockTest-task-result.json"]'

#TODO: delete next line
#check parse result and completion status
cat /tmp/output/generateAndBuild-task-result.json
cat $(System.ArtifactsDirectory)/completed/result.json

Expand All @@ -152,7 +136,7 @@ steps:
echo ${newtaskresult} > $(System.ArtifactsDirectory)/completed/result.json
fi

#TODO: delete next line
#recheck jq result
cat $(System.ArtifactsDirectory)/completed/result.json
displayName: Prepare artifact
workingDirectory: $(SDK_REPO)
Expand Down