diff --git a/Code/Mantid/Build/Jenkins/buildscript b/Code/Mantid/Build/Jenkins/buildscript index 40f6003fab63ebfa08448f47edca10bb313ac689..bf9df07b22372756d094a2184f3d54b6f09eda26 100755 --- a/Code/Mantid/Build/Jenkins/buildscript +++ b/Code/Mantid/Build/Jenkins/buildscript @@ -85,6 +85,10 @@ else SCL_ON_RHEL6="eval" fi +if [[ ${NODE_LABELS} == *rhel7* ]]; then + ON_RHEL7=true +fi + ############################################################################### # Check job requirements from the name ############################################################################### @@ -212,6 +216,6 @@ fi # Run the system tests on RHEL6 when doing a pull request build. Run # from a package to have at least one Linux checks it install okay ############################################################################### -if [[ "${ON_RHEL6}" == true ]] && [[ ${JOB_NAME} == *pull_requests* ]]; then +if [[ "${ON_RHEL7}" == true ]] && [[ ${JOB_NAME} == *pull_requests* ]]; then $SCRIPT_DIR/systemtests fi