Discussions
Categories
Groups
Community Home
Categories
INTERNAL ENABLEMENT
POPULAR
PUBLIC CLOUD
PRIVATE CLOUD
Quick Links
MY LINKS
HELPFUL TIPS
Back to website
Home
Web CMS (TeamSite)
branch list
Jumjum
Has anyone had success in using the branch_list attribute.
We have the following set up and I would like to limit what deployment workflows the user sees when they invoke tt_data. Here is our available_templates.cfg
<template_file name='Deploy To Dev' path="host/host_dcr_deploy.wft'>
<command_list>
<command value='tt_data' />
<command value='all' include='no' />
</command_list>
<branch_list>
<branch value ="/default/main/Extranet/HostServices" include ="yes"/>
<branch value ="all" include ="no"/>
</branch_list>
<role_list>
<role value='all' include='yes' allusers='yes'/>
<role value='author' include='no' allusers='yes'/>
<role value='editor' include='no' allusers='yes'/>
<role value='Master' include='yes' allusers='yes'/>
</role_list>
</template_file>
<template_file name='Deploy To QA' path="host/host_dcr_deploy_qa.wft'>
<command_list>
<command value='tt_data' />
<command value='all' include='no' />
</command_list>
<branch_list>
<branch value ="/default/main/Extranet/HostServices" include ="yes"/>
<branch value ="all" include ="no"/>
</branch_list>
<role_list>
<role value='all' include='yes' allusers='yes'/>
<role value='author' include='no' allusers='yes'/>
<role value='editor' include='no' allusers='yes'/>
<role value='Master' include='yes' allusers='yes'/>
</role_list>
</template_file>
<template_file name='Deploy To Prod' path=host/host_dcr_deploy_prod.wft'>
<command_list>
<command value='tt_data' />
<command value='all' include='no' />
</command_list>
<branch_list>
<branch value ="/default/main/Extranet/HostServices" include ="yes"/>
<branch value ="all" include ="no"/>
</branch_list>
<role_list>
<role value='all' include='yes' allusers='yes'/>
<role value='author' include='no' allusers='yes'/>
<role value='editor' include='yes' allusers='yes'/>
<role value='Master' include='yes' allusers='yes'/>
</role_list>
</template_file>
I have tried to use the branch_list attribute but the tt_data fails to kick off.
We are on win2k running TS/TST 5.5.2 w/Sp2b and not using the multi store. So just default/main. we are also using the cgi client.
Thanks,
Jum
Find more posts tagged with
Comments
nipper
Try just the branch name, not the fully qualified name, this on
works for me:
<branch_list>
<branch value='config' include='yes' allusers='yes'/>
<branch value='all' include='no' />
</branch_list>
HTH
Andy
Jumjum
Hey Nipper,
I got it to work using the following
<branch_list>
<branch value="default/main/Intranet/Portal" include='yes' />
</branch_list>
Thanks,
Jum
Migrateduser
Keep in mind that the string you enter for branch_list is treated as a regex.
Dave Smith
Sr. Software Engineer
Nike, Inc.
(503) 671-4238
DavidH.Smith@nike.com