Skip to content

Commit

Permalink
add git branch to conda env name
Browse files Browse the repository at this point in the history
  • Loading branch information
patricktnast authored Dec 12, 2024
1 parent d585f57 commit 8fb362e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down Expand Up @@ -260,4 +260,4 @@ pipeline {
} // Python matrix bracket
} // Python matrix stage bracket
} // stages bracket
} // pipeline bracket
} // pipeline bracket

0 comments on commit 8fb362e

Please sign in to comment.