From 2a7fbe8eae2ecd4e3ca185d873eeb8c117eee4dd Mon Sep 17 00:00:00 2001 From: Sebastien Boeuf Date: Mon, 17 Jun 2019 06:36:51 -0700 Subject: [PATCH] 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 --- Jenkinsfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index 886f7a0ab..d4321470b 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -4,8 +4,8 @@ stage ("Builds") { checkout scm } stage ('Install system packages') { - sh "sudo apt-get -y install build-essential mtools libssl-dev pkg-config" - sh 'sudo apt-get -y install flex bison libelf-dev' + 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"