Skip to content
Snippets Groups Projects
Commit c6580cd7 authored by Mark Beierl's avatar Mark Beierl
Browse files

Add NTP Sync


Adds ntp to the new VM and forces a full clock sync to avoid
any drift between Jenkins and ETSI VIM

Fixes bug 1775

Change-Id: I7cec55cdedcf53f6206ee54959dea4f8f1cfeb65
Signed-off-by: default avatarbeierlm <mark.beierl@canonical.com>
(cherry picked from commit b59bd0db)
parent 62c8116f
No related branches found
No related tags found
No related merge requests found
......@@ -443,6 +443,15 @@ node("${params.NODE}") {
remote.logLevel = 'INFO'
remote.pty = true
// 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
"""
sshCommand remote: remote, command: """
wget https://osm-download.etsi.org/ftp/osm-10.0-ten/install_osm.sh
chmod +x ./install_osm.sh
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment