From: João Fonseca Date: Fri, 15 Apr 2022 15:06:51 +0000 (+0100) Subject: Fixes Bug 1993 - Substitutes NTP with Chrony X-Git-Tag: v11.0.3~6 X-Git-Url: https://osm.etsi.org/gitweb/?a=commitdiff_plain;h=bddcec1a3ca83a06d99a29ecd484ad37b3f61303;p=osm%2Fdevops.git Fixes Bug 1993 - Substitutes NTP with Chrony Change-Id: I36e0d8a0b5ce18c93e0831b277210d6b275fbcca Signed-off-by: jpedrofonseca@av.it.pt (cherry picked from commit 950baea7d7e2c9e53ae3ba9a972e5672fd3f8430) --- diff --git a/jenkins/ci-pipelines/ci_stage_3.groovy b/jenkins/ci-pipelines/ci_stage_3.groovy index 2fb7434d..b3c41e35 100644 --- a/jenkins/ci-pipelines/ci_stage_3.groovy +++ b/jenkins/ci-pipelines/ci_stage_3.groovy @@ -448,10 +448,10 @@ node("${params.NODE}") { // Force time sync to avoid clock drift and invalid certificates sshCommand remote: remote, command: 'sudo apt-get update' - sshCommand remote: remote, command: 'sudo apt-get install -y ntp' - sshCommand remote: remote, command: 'sudo service ntp stop' - sshCommand remote: remote, command: 'sudo ntpd -gq' - sshCommand remote: remote, command: 'sudo service ntp start' + sshCommand remote: remote, command: 'sudo apt-get install -y chrony' + sshCommand remote: remote, command: 'sudo service chrony stop' + sshCommand remote: remote, command: 'sudo chronyd -vq' + sshCommand remote: remote, command: 'sudo service chrony start' } // stage("Checks before installation") ///////////////////////////////////////////////////////////////////////////////////////