From 8fb362efbb68d8f67ad6b47038b3294591c8e9f2 Mon Sep 17 00:00:00 2001 From: patricktnast <130876799+patricktnast@users.noreply.github.com> Date: Thu, 12 Dec 2024 09:39:13 -0800 Subject: [PATCH] add git branch to conda env name --- Jenkinsfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index 4d36290d..af92e2fb 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -11,7 +11,7 @@ def githubUsernameToSlackName(github_author) { } pipeline_name="vivarium" -conda_env_name="${pipeline_name}-${BUILD_NUMBER}" +conda_env_name="${pipeline_name}-${GIT_BRANCH}-${BUILD_NUMBER}" conda_env_path="/tmp/${conda_env_name}" // defaults for conda and pip are a local directory /svc-simsci for improved speed. // In the past, we used /ihme/code/* on the NFS (which is slower) @@ -260,4 +260,4 @@ pipeline { } // Python matrix bracket } // Python matrix stage bracket } // stages bracket -} // pipeline bracket \ No newline at end of file +} // pipeline bracket