1
0
mirror of https://github.com/SoftEtherVPN/SoftEtherVPN.git synced 2024-11-22 17:39:53 +03:00

AppVeyor: only add systemctl log when appropriate

This commit is contained in:
Ilya Shipitsin 2018-11-03 23:49:22 +05:00
parent 8b7b45b301
commit f97a20a9cc
2 changed files with 1 additions and 5 deletions

View File

@ -53,8 +53,6 @@ for:
- make package -C tmp - make package -C tmp
after_build: after_build:
- .ci/appveyor_afterbuild.sh - .ci/appveyor_afterbuild.sh
on_failure:
- sudo journalctl -xe --no-pager
artifacts: artifacts:
- path: build/*.deb - path: build/*.deb
name: Ubuntu name: Ubuntu
@ -69,8 +67,6 @@ for:
- .ci/memory-leak-test.sh - .ci/memory-leak-test.sh
after_build: after_build:
- .ci/appveyor_afterbuild.sh - .ci/appveyor_afterbuild.sh
on_failure:
- sudo journalctl -xe --no-pager
artifacts: artifacts:
- path: build/*.deb - path: build/*.deb
name: Ubuntu name: Ubuntu

View File

@ -8,5 +8,5 @@ sudo dpkg -i build/softether-vpnclient*.deb
sudo dpkg -i build/softether-vpncmd*.deb sudo dpkg -i build/softether-vpncmd*.deb
sudo dpkg -i build/softether-vpnserver*.deb sudo dpkg -i build/softether-vpnserver*.deb
sudo systemctl restart softether-vpnserver sudo systemctl restart softether-vpnserver || (sudo journalctl -xe --no-pager >> systemctl.log && appveyor PushArtifact systemctl.log && exit 1)