From c9191b0f308c877fc77da46dc5cc0d581f0f2b1d Mon Sep 17 00:00:00 2001 From: keithm-xmos <35048036+keithm-xmos@users.noreply.github.com> Date: Thu, 8 Jun 2023 11:14:04 -0400 Subject: [PATCH] all tests now run nightly --- Jenkinsfile | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/Jenkinsfile b/Jenkinsfile index 1471e94e..03cdde5d 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -31,12 +31,18 @@ pipeline { } stages { stage('Checkout') { + when { + expression { params.NIGHTLY_TEST_ONLY == true } + } steps { checkout scm sh 'git submodule update --init --recursive --depth 1 --jobs \$(nproc)' } } stage('Build applications and firmware') { + when { + expression { params.NIGHTLY_TEST_ONLY == true } + } steps { script { uid = sh(returnStdout: true, script: 'id -u').trim() @@ -54,6 +60,9 @@ pipeline { } } stage('Create virtual environment') { + when { + expression { params.NIGHTLY_TEST_ONLY == true } + } steps { // Create venv sh "pyenv install -s $PYTHON_VERSION" @@ -66,6 +75,9 @@ pipeline { } } stage('Cleanup xtagctl') { + when { + expression { params.NIGHTLY_TEST_ONLY == true } + } steps { // Cleanup any xtagctl cruft from previous failed runs withTools(params.TOOLS_VERSION) { @@ -77,6 +89,9 @@ pipeline { } } stage('Run FreeRTOS examples') { + when { + expression { params.NIGHTLY_TEST_ONLY == true } + } steps { withTools(params.TOOLS_VERSION) { withVenv {