diff --git a/jenkins/cloudbees_build b/jenkins/cloudbees_build index c8d4b75..8acdbf7 100644 --- a/jenkins/cloudbees_build +++ b/jenkins/cloudbees_build @@ -21,23 +21,15 @@ installE4 () { local module=$1 local branch=$2 - # If microbench version does not exist, try without - if [ "${MB}" = "WITH_MICROBENCH" ]; then - if ! wget -nv https://openepics.ci.cloudbees.com/job/e4-cpp-${module}-${branch}-build/BASE=${BASE},MB=WITH_MICROBENCH/lastSuccessfulBuild/artifact/${module}.CB-dist.tar.gz; then - wget -nv https://openepics.ci.cloudbees.com/job/e4-cpp-${module}-${branch}-build/BASE=${BASE},MB=NO_MICROBENCH/lastSuccessfulBuild/artifact/${module}.CB-dist.tar.gz - fi - else - wget -nv https://openepics.ci.cloudbees.com/job/e4-cpp-${module}-${branch}-build/BASE=${BASE},MB=NO_MICROBENCH/lastSuccessfulBuild/artifact/${module}.CB-dist.tar.gz - fi + wget -nv https://openepics.ci.cloudbees.com/job/e4-cpp-${module}-${branch}-build/BASE=${BASE}/lastSuccessfulBuild/artifact/${module}.CB-dist.tar.gz tar -xzf ${module}.CB-dist.tar.gz } ########################################### -# Defaults for EPICS Base and MB +# Defaults for EPICS Base DEFAULT_BASE=3.15.4 BASE=${BASE:-${DEFAULT_BASE}} -MB=${MB:-"NO_MICROBENCH"} ########################################### # Dependent module branches