Merged
Conversation
prsunny
previously approved these changes
Feb 9, 2022
qiluo-msft
reviewed
Feb 9, 2022
|
|
||
| steps: | ||
| - script: | | ||
| sudo rm -rf $(ls -A1) |
Contributor
Collaborator
Author
There was a problem hiding this comment.
@qiluo-msft , the command is running before any script start, so it is to make the whole workspace clean. It is expected, there are no files as the agent hosted by Microsoft.
I changed the PR title and the description.
qiluo-msft
approved these changes
Feb 9, 2022
Collaborator
Author
|
/azp run |
|
Azure Pipelines successfully started running 1 pipeline(s). |
qiluo-msft
pushed a commit
that referenced
this pull request
Feb 9, 2022
* Cleanup the workspace. In some of the test cases, it is run as root, left some of the file cannot be removed during the checkout step.
This was referenced Feb 9, 2022
prsunny
added a commit
to sonic-net/sonic-swss-common
that referenced
this pull request
Feb 10, 2022
judyjoseph
pushed a commit
that referenced
this pull request
Feb 14, 2022
* Cleanup the workspace. In some of the test cases, it is run as root, left some of the file cannot be removed during the checkout step.
qiluo-msft
pushed a commit
to qiluo-msft/sonic-swss
that referenced
this pull request
Feb 14, 2022
* Cleanup the workspace. In some of the test cases, it is run as root, left some of the file cannot be removed during the checkout step.
preetham-singh
pushed a commit
to preetham-singh/sonic-swss
that referenced
this pull request
Aug 6, 2022
* Cleanup the workspace. In some of the test cases, it is run as root, left some of the file cannot be removed during the checkout step.
Janetxxx
pushed a commit
to Janetxxx/sonic-swss
that referenced
this pull request
Nov 10, 2025
* Cleanup the workspace. In some of the test cases, it is run as root, left some of the file cannot be removed during the checkout step.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What I did
Cleanup the workspace.
Why I did it
In some of the test cases, it is run as root, left some of the file cannot be removed during the checkout step.
Example: https://dev.azure.com/mssonic/build/_build/results?buildId=71009&view=logs&j=3f6395b2-1619-5ebe-f305-2aedcf353cb5&t=aa8a4b4e-56c0-53e8-6540-01f05ca983a1
How I verified it
Details if related