Skip to content
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

Resolving error & adding safegaurds to qatest.yaml #3538

Merged
merged 1 commit into from
Feb 12, 2025

Conversation

AtlasLinden
Copy link
Contributor

  • Resolving following error:
Run BUILD_ID=13273125546
BUILD_ID=13273125546 : The term 'BUILD_ID=13273125546' is not recognized as the name of a cmdlet, function, script  file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct  and try again.
At C:\actions-runner\_work\_temp\8f7d95ba-16d4-4e61-86ab-ea5621798eb4.ps1:2 char:1
+ BUILD_ID=13273125546
+ ~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : ObjectNotFound: (BUILD_ID=13273125546:String) [], ParentContainsErrorRecordException
    + FullyQualifiedErrorId : CommandNotFoundException
 
Error: Process completed with exit code 1.
  • shell: pwsh provided for some steps to ensure use of PowerShell Core
  • Replaced curl with Invoke-WebRequest
  • Safer path handling: Uses $env:TEMP\secondlife-build-$BUILD_ID instead of ~
  • / replaced with \ in directories
  • Removes unnecessary powershell -Command "& { ... }"

Resolving following error:
Run BUILD_ID=13273125546
BUILD_ID=13273125546 : The term 'BUILD_ID=13273125546' is not recognized as the name of a cmdlet, function, script 
file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct 
and try again.
At C:\actions-runner\_work\_temp\8f7d95ba-16d4-4e61-86ab-ea5621798eb4.ps1:2 char:1
+ BUILD_ID=13273125546
+ ~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : ObjectNotFound: (BUILD_ID=13273125546:String) [], ParentContainsErrorRecordException
    + FullyQualifiedErrorId : CommandNotFoundException
 
Error: Process completed with exit code 1.

- shell: pwsh provided for some steps to ensure use of PowerShell Core
- Replaced curl with Invoke-WebRequest
- Safer path handling: Uses $env:TEMP\secondlife-build-$BUILD_ID instead of ~
- / replaced with \ in directories
- Removes unnecessary powershell -Command "& { ... }"
@akleshchev akleshchev requested a review from marchcat February 12, 2025 17:43
@AtlasLinden AtlasLinden merged commit b5271dd into develop Feb 12, 2025
14 checks passed
@AtlasLinden AtlasLinden deleted the atlas-qaworkflow-patch4 branch February 12, 2025 18:06
@github-actions github-actions bot locked and limited conversation to collaborators Feb 12, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants