If 'systemctl reboot|halt' is called within script 'trap' function is not called so deployment.sh does not wait and jenkins can miss the status. Move waiting to separate function and call it directly so there is waiting in the end of deployment.sh in any case. Change-Id: Ib93bf6fd4e6f133c9342d02d412ea1f18cdceba6changes/30/23130/1
parent
af30d88027
commit
e431387e57
Loading…
Reference in new issue