Skip to content

Commit

Permalink
[ci] Fix some not sai package removed issue (#11544)
Browse files Browse the repository at this point in the history
Only replace the file name starts with "cisco-".
  • Loading branch information
xumia authored and qiluo-msft committed Jul 27, 2022
1 parent c4927e0 commit 14f67b1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .azure-pipelines/official-build-cisco-8000.yml
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ stages:
fi
cd $(dirname $filename)
echo "PWD=$(pwd)"
ls -l *.deb
ls -l cisco-*.deb
while read -r package; do
# Cisco version format: <VERSION>-sai-<sai-ver>-<distribution>-<COMMIT HASH>
# The <sai-ver> may contain several values in one build, the part is skipped when publishing to storage
Expand All @@ -93,7 +93,7 @@ stages:
package_url="$PACKAGE_URL/sai/ciscosai/master/$version/$package"
echo "Override package $package from $package_url"
wget "$package_url$StorageSASKey" -O "$package"
done < <(ls *.deb)
done < <(ls cisco-*.deb)
env:
StorageSASKey: $(StorageSASKey)
condition: ne(variables['Build.Reason'], 'PullRequest')
Expand Down

0 comments on commit 14f67b1

Please sign in to comment.