[fix][core] use global vars for getting job info

us: PRODX-5418
Change-Id: I8d92a3f45912743e5c0d4349cf64fd78cc2bf42f
1 file changed