mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2024-10-02 11:35:46 +00:00
CI: Fix the Ubuntu VM update stuck on an interactive window
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>
This commit is contained in:
parent
fe43e86193
commit
2a7fbe8eae
4
Jenkinsfile
vendored
4
Jenkinsfile
vendored
@ -4,8 +4,8 @@ stage ("Builds") {
|
|||||||
checkout scm
|
checkout scm
|
||||||
}
|
}
|
||||||
stage ('Install system packages') {
|
stage ('Install system packages') {
|
||||||
sh "sudo apt-get -y install build-essential mtools libssl-dev pkg-config"
|
sh "sudo DEBIAN_FRONTEND=noninteractive apt-get install -yq build-essential mtools libssl-dev pkg-config"
|
||||||
sh 'sudo apt-get -y install flex bison libelf-dev'
|
sh "sudo apt-get install -yq flex bison libelf-dev"
|
||||||
}
|
}
|
||||||
stage ('Install Rust') {
|
stage ('Install Rust') {
|
||||||
sh "nohup curl https://sh.rustup.rs -sSf | sh -s -- -y"
|
sh "nohup curl https://sh.rustup.rs -sSf | sh -s -- -y"
|
||||||
|
Loading…
Reference in New Issue
Block a user