Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi,
I have created master job in which I have child jobs connected with Run if(true) condition.
Do I need to maintain all the connections and variables to be same in master and child jobs?
Thanks,
Meghana.
There is a master job with 4 env in context
default, dev, qa, prod
Job | Default | Dev | QA | PROD |
filePath | /Desktop | /files | /files | /files |
Child1
filePath | /Desktop | /files | /files | /files |
ABC@gmail.com | some@gmail.com | some@gmail.com | some@gmail.com |
Child2
filePath | /Desktop | /files | /files | /files |
ABC@gmail.com | other@gmail.com | other@gmail.com | other@gmail.com |
master h=job looks like child1->RunIf(true)->child2.
Now when I execute master job in TIC, master job is taking default context variables of child job in all the environments.
I wanted my master job to take child job's context parameters in it's respective environment. Can I get solution?
Thanks,
Suneel.
here is a master job with 4 env in context
default, dev, qa, prod
Name Default Dev QA PROD
filePath /Desktop /files /files /files
Child1
filePath /Desktop /files /files /files
Email ABC@gmail.com some@gmail.com some@gmail.com some@gmail.com
Child2
filePath /Desktop /files /files /files
Email ABC@gmail.com other@gmail.com other@gmail.com other@gmail.com
master h=job looks like child1->RunIf(true)->child2.
Now when I execute master job in TIC, master job is taking default context variables of child job in all the environments.
I wanted my master job to take child job's context parameters in it's respective environment. Can I get solution?
Thanks,
Suneel.
There is a master job with 4 env in context
default, dev, qa, prod
Job Default Dev QA PROD
filePath /Desktop /files /files /files
Child1
filePath /Desktop /files ` /files
Email ABC@gmail.com some@gmail.com some@gmail.com some@gmail.com
Child2
filePath /Desktop /files /files /files
Email ABC@gmail.com other@gmail.com other@gmail.com other@gmail.com
master h=job looks like child1->RunIf(true)->child2.
Now when I execute master job in TIC, master job is taking default context variables of child job in all the environments.
I wanted my master job to take child job's context parameters in it's respective environment. Can I get solution?
Thanks,
Suneel.
I did not get ur point
@Suneel: As per your explanation, my understanding is that you want to run child's context group based on master's. i.e suppose you have selected 'QA' from master job and job want to select 'QA' parameters in child too. Please confirm?
If your requirement is based on my previous comment, then you can follow below steps to resolve your issue.
You need to specify child's context group value in 'tRunJob' component in Master job as below.
Please mark the topic as resolved if my answer helped you and Kudos are also welcome.
Regards,
Vibin CT.
Yes this is my exact requirement and thanks for ur response.
I have seen that option of changing context. Does we have any possibility like it changes automatically depending on it's environment rather we change it manually?