Fix old versions not cleanup issue (#7575)
Why I did it Fix some of the versions in files/build/versions folder not cleanup issue when generating new version configuration.
This commit is contained in:
parent
a3980f948a
commit
dc6d5a78b9
@ -69,6 +69,9 @@ stages:
|
||||
- download: current
|
||||
patterns: '**/versions-*'
|
||||
- script: |
|
||||
# Cleanup the old versions
|
||||
rm -rf files/build/versions
|
||||
|
||||
mkdir -p target
|
||||
default_platform=broadcom
|
||||
artifacts=$(find $(Pipeline.Workspace) -maxdepth 1 -type d -name 'sonic-buildimage.*' | grep -v "sonic-buildimage.${default_platform}")
|
||||
|
Reference in New Issue
Block a user