Skip to content

Commit

Permalink
Merge pull request #561 from StackStorm/fix/ci-st2-logs-sharing
Browse files Browse the repository at this point in the history
Fix sharing st2 logs when CircleCI job failed
  • Loading branch information
armab authored Jun 1, 2018
2 parents f57b401 + 90381fc commit 40d278a
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions circle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -87,11 +87,11 @@ jobs:
# working_directory: ~/st2-packages
- run:
name: Test the Packages
command: |
set -x
.circle/docker-compose2.sh test ${DISTRO}
# Once test container finishes we can copy logs directly from it
docker cp st2-packages-vol:/var/log/st2 ~/st2-packages/build/${DISTRO}/log/st2
command: .circle/docker-compose2.sh test ${DISTRO}
- run:
when: always
name: Grab the st2 logs
command: docker cp st2-packages-vol:/var/log/st2 ~/st2-packages/build/${DISTRO}/log/st2
- store_artifacts:
path: ~/st2-packages/build
destination: packages
Expand Down

0 comments on commit 40d278a

Please sign in to comment.