I am using circle CI 2.0 and have a manual approval step. Let’s call it job “A”.
I am trying to add a timeout for this job by running another job, “B” in parallel. In job B, I run a shell script with a certain timeout and then read an environment variable. Based on the value of the env variable, I either successfully end job B or throw an error.
In Job A, I set the value of the variable.
All jobs following, require both jobs, A and B, to be completed.
My question, hence, is: Is there a way in which I can share a variable between jobs A and B?