-v ${portmappingfile}:/root/port-mapping.yaml ${hostfilemount} opensourcemano/tests:${tagName} \
-c -t ${testName}""")
} finally {
- sh("cp ${tempdir}/* .")
+ sh("cp ${tempdir}/*.xml .")
+ sh("cp ${tempdir}/*.html .")
outputDirectory = sh(returnStdout: true, script: 'pwd').trim()
println("Present Directory is : ${outputDirectory}")
step([
pty: true
]
- // Force loading of the ETSI Debian Package Signing Key
- sshCommand remote: remote, command: 'sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 93EC7342B1168CDB'
+ // Ensure the VM is ready
+ sshCommand remote: remote, command: 'cloud-init status --wait'
// 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 chrony'
]
sshCommand remote: remote, command: '''
- wget https://osm-download.etsi.org/ftp/osm-11.0-eleven/install_osm.sh
+ wget https://osm-download.etsi.org/ftp/osm-12.0-twelve/install_osm.sh
chmod +x ./install_osm.sh
sed -i '1 i\\export PATH=/snap/bin:\$PATH' ~/.bashrc
'''