Skip to content

Commit

Permalink
branch name in conda env in jenkinsfile
Browse files Browse the repository at this point in the history
  • Loading branch information
patricktnast authored Dec 12, 2024
1 parent a613d79 commit a0d55b6
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}-${BRANCH_NAME}-${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 @@ -254,4 +254,4 @@ pipeline {
} // Python matrix bracket
} // Python matrix stage bracket
} // stages bracket
}
}

0 comments on commit a0d55b6

Please sign in to comment.