Your browser was unable to load all of the resources. They may have been blocked by your firewall, proxy or browser configuration.
Press Ctrl+F5 or Ctrl+Shift+R to have your browser try again.

How can we pass a variable value from one job to another job? #115

Debarati1996 ·

Hi@robinshen ,
I am triggering one job from another job. Now the child job having 2 prompt variables which is prompting while triggering the parent job, but value is not passing to the child job. It is taking the default value defined in the child job only.

Can you please suggest some way around for this?

Also is there any concept of global variable in QB. If yes, then how to define it can you please suggest?

Thanks,
Debarati

  • replies 1
  • views 8
  • stars 0
robinshen ADMIN ·

I am triggering one job from another job. Now the child job having 2 prompt variables which is prompting while triggering the parent job, but value is not passing to the child job. It is taking the default value defined in the child job only.

I am guessing you are using the trigger build step. If so, the step can define variables passed to the build being triggered.

Also is there any concept of global variable in QB. If yes, then how to define it can you please suggest?

Variables defined in root configuration can be seen by all configurations.