Fixes Bug 1993 -substitutes NTP with Chrony
Change-Id: Ife2fd73ee18165b7b869e15ceee1cdd0b1b75dbc
Signed-off-by: João Pedro Fonseca <jpedrofonseca@ua.pt>
diff --git a/jenkins/ci-pipelines/ci_stage_3.groovy b/jenkins/ci-pipelines/ci_stage_3.groovy
index 4141f8d..44117ad 100644
--- a/jenkins/ci-pipelines/ci_stage_3.groovy
+++ b/jenkins/ci-pipelines/ci_stage_3.groovy
@@ -450,10 +450,10 @@
// Force time sync to avoid clock drift and invalid certificates
sshCommand remote: remote, command: """
sudo apt update
- sudo apt install -y ntp
- sudo service ntp stop
- sudo ntpd -gq
- sudo service ntp start
+ sudo apt install -y chrony
+ sudo service chrony stop
+ sudo chrony -vq
+ sudo service chrony start
"""
sshCommand remote: remote, command: """