Skip to content

Commit

Permalink
[ci]: only copy artifacts when build is successful (sonic-net#1590)
Browse files Browse the repository at this point in the history
  • Loading branch information
lguohan authored Jan 12, 2021
1 parent 17d0dae commit 64ca9bb
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,8 +63,7 @@ jobs:
submodules: true
- script: |
./autogen.sh
dpkg-buildpackage -us -uc -b -j$(nproc)
cp ../*.deb .
dpkg-buildpackage -us -uc -b -j$(nproc) && cp ../*.deb .
displayName: "Compile sonic swss"
- publish: $(System.DefaultWorkingDirectory)/
artifact: sonic-swss
Expand Down Expand Up @@ -124,8 +123,7 @@ jobs:
submodules: true
- script: |
./autogen.sh
dpkg-buildpackage -us -uc -b -j$(nproc)
cp ../*.deb .
dpkg-buildpackage -us -uc -b -j$(nproc) && cp ../*.deb .
displayName: "Compile sonic swss"
- publish: $(System.DefaultWorkingDirectory)/
artifact: sonic-swss.arm64
Expand Down Expand Up @@ -185,8 +183,7 @@ jobs:
submodules: true
- script: |
./autogen.sh
dpkg-buildpackage -us -uc -b -j$(nproc)
cp ../*.deb .
dpkg-buildpackage -us -uc -b -j$(nproc) && cp ../*.deb .
displayName: "Compile sonic swss"
- publish: $(System.DefaultWorkingDirectory)/
artifact: sonic-swss.armhf
Expand Down

0 comments on commit 64ca9bb

Please sign in to comment.