From d65a0b68b9c0dc4ec8d0e8d04e15b8b991c3b2df Mon Sep 17 00:00:00 2001 From: Sebastien Boeuf Date: Fri, 5 Mar 2021 18:25:45 +0100 Subject: [PATCH] Revert "Jenkinsfile: Temporarily disable SGX CI" This reverts commit 526cf32a78b0ef63dcbfe301cfab6ca78664deac. Signed-off-by: Sebastien Boeuf --- Jenkinsfile | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) diff --git a/Jenkinsfile b/Jenkinsfile index 9126777fa..37008649e 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -103,6 +103,39 @@ pipeline{ } } } + stage ('Worker build SGX') { + agent { node { label 'bionic-sgx' } } + when { branch 'master' } + stages { + stage ('Checkout') { + steps { + checkout scm + } + } + stage ('Run SGX integration tests') { + options { + timeout(time: 1, unit: 'HOURS') + } + steps { + sh "scripts/dev_cli.sh tests --integration-sgx" + } + } + stage ('Run SGX integration tests for musl') { + options { + timeout(time: 1, unit: 'HOURS') + } + steps { + sh "scripts/dev_cli.sh tests --integration-sgx --libc musl" + } + } + } + post { + always { + sh "sudo chown -R jenkins.jenkins ${WORKSPACE}" + deleteDir() + } + } + } stage ('Worker build - Windows guest') { agent { node { label 'groovy-win' } } stages {