summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
2cd6e5f)
// Force time sync to avoid clock drift and invalid certificates
sshCommand remote: remote, command: 'sudo apt-get update'
// 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")
///////////////////////////////////////////////////////////////////////////////////////
} // stage("Checks before installation")
///////////////////////////////////////////////////////////////////////////////////////