Skip to content

Commit af2dea9

Browse files
authored
[ci] Fix some not sai package removed issue (sonic-net#11544)
Only replace the file name starts with "cisco-".
1 parent c0866d6 commit af2dea9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.azure-pipelines/official-build-cisco-8000.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ stages:
8383
fi
8484
cd $(dirname $filename)
8585
echo "PWD=$(pwd)"
86-
ls -l *.deb
86+
ls -l cisco-*.deb
8787
while read -r package; do
8888
# Cisco version format: <VERSION>-sai-<sai-ver>-<distribution>-<COMMIT HASH>
8989
# The <sai-ver> may contain several values in one build, the part is skipped when publishing to storage
@@ -93,7 +93,7 @@ stages:
9393
package_url="$PACKAGE_URL/sai/ciscosai/master/$version/$package"
9494
echo "Override package $package from $package_url"
9595
wget "$package_url$StorageSASKey" -O "$package"
96-
done < <(ls *.deb)
96+
done < <(ls cisco-*.deb)
9797
env:
9898
StorageSASKey: $(StorageSASKey)
9999
condition: ne(variables['Build.Reason'], 'PullRequest')

0 commit comments

Comments
 (0)