mirror of
https://github.com/SoftEtherVPN/SoftEtherVPN.git
synced 2024-11-23 01:49:53 +03:00
AppVeyor: only add systemctl log when appropriate
This commit is contained in:
parent
8b7b45b301
commit
f97a20a9cc
@ -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
|
||||||
|
@ -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)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user