mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2024-08-20 15:01:16 +00:00
We need to export the variable DEBIAN_FRONTEND=noninteractive from the Jenkinsfile if we want to make sure the VM update won't get stuck into an interactive window. Signed-off-by: Sebastien Boeuf <sebastien.boeuf@intel.com>
20 lines
497 B
Groovy
20 lines
497 B
Groovy
stage ("Builds") {
|
|
node ('bionic') {
|
|
stage ('Checkout') {
|
|
checkout scm
|
|
}
|
|
stage ('Install system packages') {
|
|
sh "sudo DEBIAN_FRONTEND=noninteractive apt-get install -yq build-essential mtools libssl-dev pkg-config"
|
|
sh "sudo apt-get install -yq flex bison libelf-dev"
|
|
}
|
|
stage ('Install Rust') {
|
|
sh "nohup curl https://sh.rustup.rs -sSf | sh -s -- -y"
|
|
}
|
|
stage ('Run integration tests') {
|
|
sh "sudo chmod a+rw /dev/kvm"
|
|
sh "scripts/run_integration_tests.sh"
|
|
}
|
|
}
|
|
}
|
|
|