diff --git a/contrib/intel/jenkins/Jenkinsfile b/contrib/intel/jenkins/Jenkinsfile index 4a7cce17058..3849c18f2cb 100644 --- a/contrib/intel/jenkins/Jenkinsfile +++ b/contrib/intel/jenkins/Jenkinsfile @@ -103,6 +103,14 @@ def run_ci(stage_name, config_name) { """ } +def build_ci(config_name) { + sh """source ${CI_LOCATION}/${env.CI_MODULE}/venv/bin/activate;\ + python run.py \ + --output=${env.CUSTOM_WORKSPACE}/pre-build \ + --job=${config_name} + """ +} + def gather_logs(cluster, key, dest, source) { def address = "${env.USER}@${cluster}" @@ -441,7 +449,7 @@ pipeline { steps { script { dir (CI_LOCATION) { - run_ci("pre-build", "pr_build_water.json") + build_ci("pr_build_water.json") } } } @@ -450,7 +458,7 @@ pipeline { steps { script { dir (CI_LOCATION) { - run_ci("pre-build", "pr_build_grass.json") + build_ci("pr_build_grass.json") } } } @@ -459,7 +467,7 @@ pipeline { steps { script { dir (CI_LOCATION) { - run_ci("pre-build", "pr_build_electric.json") + build_ci("pr_build_electric.json") } } } @@ -468,7 +476,7 @@ pipeline { steps { script { dir (CI_LOCATION) { - run_ci("pre-build", "pr_build_cyndaquil.json") + build_ci("pr_build_cyndaquil.json") } } } @@ -477,7 +485,7 @@ pipeline { steps { script { dir (CI_LOCATION) { - run_ci("pre-build", "pr_build_quilava.json") + build_ci("pr_build_quilava.json") } } } @@ -499,7 +507,7 @@ pipeline { } bootstrap_ci() dir (CI_LOCATION) { - run_ci("pre-build", "pr_build_daos.json") + build_ci("pr_build_daos.json") } } } @@ -522,7 +530,7 @@ pipeline { } bootstrap_ci() dir (CI_LOCATION) { - run_ci("pre-build", "pr_build_fire.json") + build_ci("pr_build_fire.json") } } } @@ -536,7 +544,7 @@ pipeline { steps { script { dir (CI_LOCATION) { - run_ci("pre-build", "pr_build_shmem_water.json") + build_ci("pr_build_shmem_water.json") } } } @@ -545,7 +553,7 @@ pipeline { steps { script { dir (CI_LOCATION) { - run_ci("pre-build", "pr_build_shmem_grass.json") + build_ci("pr_build_shmem_grass.json") } } } @@ -554,7 +562,7 @@ pipeline { steps { script { dir (CI_LOCATION) { - run_ci("pre-build", "pr_build_ompi_water.json") + build_ci("pr_build_ompi_water.json") } } } @@ -563,7 +571,7 @@ pipeline { steps { script { dir (CI_LOCATION) { - run_ci("pre-build", "pr_build_ompi_grass.json") + build_ci("pr_build_ompi_grass.json") } } }