build: Use tmpfs for /tmp

On the Jenkins build slaves disk I/O is a bottlneck so make /tmp a tmpfs
which removes I/O issues when running lots of VMs at the same time.

Signed-off-by: Rob Bradford <robert.bradford@intel.com>
This commit is contained in:
Rob Bradford 2019-07-18 16:15:02 +01:00 committed by Samuel Ortiz
parent 80f33113cb
commit 492ab7a1a8

1
Jenkinsfile vendored
View File

@ -15,6 +15,7 @@ stage ("Builds") {
sh "scripts/run_unit_tests.sh"
}
stage ('Run integration tests') {
sh "sudo mount -t tmpfs tmpfs /tmp"
sh "sudo chmod a+rw /dev/kvm"
sh "scripts/run_integration_tests.sh"
}