Env var containing selector used?
I have a library that we run with many different selectors based on OS/DBMS type & version/etc. There are a lot of env vars set by BF for various things, but there doesn't seem to be one set with the selector name (or even selector uuid) being used to run the library. Am I just missing it? If not, is there any other way to determine the selector being used to run a build?
|
2 answers
Did you checked the STEP section inside the step execution log? It is the first line of the log and should look like this:
STEP Step using selector 'adcsandbox_deploy'. |
inside the step itself, there is no variable set. In the output there are several things you can look at (as indicated above). However, interestingly if a job was called as a chain, there will be a BF_CALLER_SELECTOR environment variable set. This does not appear in the parent job though.
|
Your answer
Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.