Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

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?

0 votes



2 answers

Permanent link
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'.

0 votes


Permanent link
 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.

0 votes

Your answer

Register or log in 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.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details

Question asked: Apr 19 '12, 11:36 a.m.

Question was seen: 6,470 times

Last updated: May 16 '13, 6:12 p.m.

Confirmation Cancel Confirm