Skip to content

Commit

Permalink
contrib/intel/jenkins: Uplevel pre-build directory
Browse files Browse the repository at this point in the history
Uplevel pre-build directory so that it is not scp'd

Signed-off-by: Zach Dworkin <[email protected]>
  • Loading branch information
zachdworkin committed Dec 17, 2024
1 parent 2c200a4 commit 2f94ead
Showing 1 changed file with 19 additions and 11 deletions.
30 changes: 19 additions & 11 deletions contrib/intel/jenkins/Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -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}"

Expand Down Expand Up @@ -441,7 +449,7 @@ pipeline {
steps {
script {
dir (CI_LOCATION) {
run_ci("pre-build", "pr_build_water.json")
build_ci("pr_build_water.json")
}
}
}
Expand All @@ -450,7 +458,7 @@ pipeline {
steps {
script {
dir (CI_LOCATION) {
run_ci("pre-build", "pr_build_grass.json")
build_ci("pr_build_grass.json")
}
}
}
Expand All @@ -459,7 +467,7 @@ pipeline {
steps {
script {
dir (CI_LOCATION) {
run_ci("pre-build", "pr_build_electric.json")
build_ci("pr_build_electric.json")
}
}
}
Expand All @@ -468,7 +476,7 @@ pipeline {
steps {
script {
dir (CI_LOCATION) {
run_ci("pre-build", "pr_build_cyndaquil.json")
build_ci("pr_build_cyndaquil.json")
}
}
}
Expand All @@ -477,7 +485,7 @@ pipeline {
steps {
script {
dir (CI_LOCATION) {
run_ci("pre-build", "pr_build_quilava.json")
build_ci("pr_build_quilava.json")
}
}
}
Expand All @@ -499,7 +507,7 @@ pipeline {
}
bootstrap_ci()
dir (CI_LOCATION) {
run_ci("pre-build", "pr_build_daos.json")
build_ci("pr_build_daos.json")
}
}
}
Expand All @@ -522,7 +530,7 @@ pipeline {
}
bootstrap_ci()
dir (CI_LOCATION) {
run_ci("pre-build", "pr_build_fire.json")
build_ci("pr_build_fire.json")
}
}
}
Expand All @@ -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")
}
}
}
Expand All @@ -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")
}
}
}
Expand All @@ -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")
}
}
}
Expand All @@ -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")
}
}
}
Expand Down

0 comments on commit 2f94ead

Please sign in to comment.