File tree Expand file tree Collapse file tree 1 file changed +6
-5
lines changed
Expand file tree Collapse file tree 1 file changed +6
-5
lines changed Original file line number Diff line number Diff line change @@ -13,14 +13,15 @@ def githubUsernameToSlackName(github_author) {
1313pipeline_name= " vivarium"
1414conda_env_name= " ${ pipeline_name} -${ BRANCH_NAME} -${ BUILD_NUMBER} "
1515conda_env_path= " /tmp/${ conda_env_name} "
16- CRON_SETTINGS = BRANCH_NAME == " main" ? ''' H H(20-23) * * *''' : " "
1716// defaults for conda and pip are a local directory /svc-simsci for improved speed.
1817// In the past, we used /ihme/code/* on the NFS (which is slower)
1918shared_path= " /svc-simsci"
20-
19+ // comma separated string list of branches to run periodic builds on
20+ scheduled_branches = " main"
21+ CRON_SETTINGS = scheduled_branches. split(' ,' ). collect{it. trim()}. contains(BRANCH_NAME ) ? ' H H(20-23) * * *' : ' '
2122
2223pipeline {
23- // This agent runs as svc-simsci on node jenkinsagent -ci-p02 .
24+ // This agent runs as svc-simsci on node simsci -ci-coordinator-01 .
2425 // It has access to standard IHME filesystems and singularity
2526 agent { label " coordinator" }
2627 triggers {
@@ -79,8 +80,8 @@ pipeline {
7980 // customWorkspace setting must be ran within a node
8081 agent {
8182 node {
82- // Run child tasks on simsci-jenkinsagent-ci-p01 or simsci-jenkinsagent-ci-p02 .
83- label " jenkins-agent "
83+ // Run child tasks on simsci-jenkinsagent-ci-p01.
84+ label " matrix-tasks "
8485 }
8586 }
8687 axes {
You can’t perform that action at this time.
0 commit comments