It's all about the answers!

Ask a question

Env var containing selector used?


Derek Battams (133) | asked Apr 19 '12, 11:36 a.m.
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



permanent link
Marcelo Ancelmo (3111) | answered May 07 '13, 4:09 p.m.
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'.

permanent link
Robert haig (1.0k16) | answered May 16 '13, 6:12 p.m.
FORUM MODERATOR / JAZZ DEVELOPER
 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


Register or to post 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.