From: João Pedro Fonseca Date: Wed, 20 Apr 2022 22:06:26 +0000 (+0100) Subject: Fixes Bug 1993 -substitutes NTP with Chrony X-Git-Tag: v10.1.1-rc1~9 X-Git-Url: https://osm.etsi.org/gitweb/?a=commitdiff_plain;h=0dbdc8cbf3220d80bea1ea54d10f4ec95d6948d6;p=osm%2Fdevops.git Fixes Bug 1993 -substitutes NTP with Chrony Change-Id: Ife2fd73ee18165b7b869e15ceee1cdd0b1b75dbc Signed-off-by: João Pedro Fonseca --- diff --git a/jenkins/ci-pipelines/ci_stage_3.groovy b/jenkins/ci-pipelines/ci_stage_3.groovy index 4141f8d4..44117ade 100644 --- a/jenkins/ci-pipelines/ci_stage_3.groovy +++ b/jenkins/ci-pipelines/ci_stage_3.groovy @@ -450,10 +450,10 @@ node("${params.NODE}") { // 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: """