~aleteoryx/muditaos

c3f0140998d2962067b14ec7e88b42e85df97862 — Bartosz Cichocki 4 years ago 6e104c4
[EGD-7925] Disable cross-product test on release branches

This disables builds of Pure tests on Bell release branch and vice versa
1 files changed, 11 insertions(+), 2 deletions(-)

M Jenkinsfile
M Jenkinsfile => Jenkinsfile +11 -2
@@ 30,6 30,7 @@ pipeline {
        JOBS=15
        PATH="/usr/local/cmake-3.21.3-linux-x86_64/bin:/usr/local/gcc-arm-none-eabi-10-2020-q4-major/bin:$PATH"
    }

    stages {
        stage('Check for previous running builds') {
            steps {


@@ 142,7 143,11 @@ pipeline {
                XDG_CACHE_HOME="/clang-cache"

            }

            when {
                expression {
                 return !(env.CHANGE_TARGET ==~ /release\/[0-9]+\.[0-9]+\.[0-9]+-bell/)
                 }
            }
            steps {
                echo "Check if branch needs rebasing"
                sh '''#!/bin/bash -e


@@ 226,7 231,11 @@ pipeline {
                CCACHE_DIR="/ccache/Linux"
                XDG_CACHE_HOME="/clang-cache"
            }

            when {
                expression {
                 return !(env.CHANGE_TARGET ==~ /release\/[0-9]+\.[0-9]+\.[0-9]+-pure/)
                 }
            }
            steps {
                echo "Check if branch needs rebasing"
                sh '''#!/bin/bash -e