-
Notifications
You must be signed in to change notification settings - Fork 3.4k
{CI} Fix cli login issue for regression test pipeline #31940
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|
|
|
@@ -21,7 +21,13 @@ jobs: | |||||||||
| inputs: | ||||||||||
| versionSpec: '3.12' | ||||||||||
| displayName: "Use Python 3.12" | ||||||||||
| - bash: | | ||||||||||
| - task: AzureCLI@2 | ||||||||||
| displayName: 'checkout branch' | ||||||||||
| inputs: | ||||||||||
| connectedServiceNameARM: $(azure-cli-live-test-msft-connected-service) | ||||||||||
| scriptType: bash | ||||||||||
| scriptLocation: inlineScript | ||||||||||
| inlineScript: | | ||||||||||
| set -ev | ||||||||||
| pwd | ||||||||||
| git clone https://github.com/Azure/azure-cli-extensions.git | ||||||||||
|
|
@@ -34,7 +40,6 @@ jobs: | |||||||||
| git remote add azclibot https://azclibot:${GITHUB_TOKEN}@github.com/azclibot/azure-cli-extensions.git | ||||||||||
| git checkout -b regression_test_$(Build.BuildId) | ||||||||||
| git push --set-upstream azclibot regression_test_$(Build.BuildId) | ||||||||||
| displayName: 'checkout branch' | ||||||||||
|
|
||||||||||
| - job: CLIExtensionRegressionTest | ||||||||||
| displayName: CLI Extension Regression Test | ||||||||||
|
|
@@ -74,7 +79,13 @@ jobs: | |||||||||
| inputs: | ||||||||||
| versionSpec: '3.12' | ||||||||||
| displayName: "Use Python 3.12" | ||||||||||
|
||||||||||
| displayName: "Use Python 3.12" | |
| displayName: "Use Python 3.12" | |
| inputs: | |
| versionSpec: '3.12' |
Copilot
AI
Aug 13, 2025
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The displayName is moved inside the task inputs section but should be at the task level. Move 'displayName: 'Result Summary'' to be a direct property of the task, not under inputs.
| Original file line number | Diff line number | Diff line change | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|
|
|
@@ -22,7 +22,13 @@ jobs: | |||||||||
| inputs: | ||||||||||
| versionSpec: '3.12' | ||||||||||
| displayName: "Use Python 3.12" | ||||||||||
|
||||||||||
| displayName: "Use Python 3.12" | |
| displayName: "Use Python 3.12" | |
| inputs: | |
| versionSpec: '3.12' |
Copilot
AI
Aug 13, 2025
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The displayName is moved inside the task inputs section but should be at the task level. Move 'displayName: 'Checkout Target Branch'' to be a direct property of the task, not under inputs.
| displayName: "Use Python 3.12" | |
| displayName: "Use Python 3.12" | |
| inputs: | |
| versionSpec: '3.12' |
Copilot
AI
Aug 13, 2025
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The displayName is moved inside the task inputs section but should be at the task level. Move 'displayName: 'Create PR'' to be a direct property of the task, not under inputs.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The displayName is moved inside the task inputs section but should be at the task level. Move 'displayName: 'checkout branch'' to be a direct property of the task, not under inputs.