I assume youâre using condor_submit -interactive with a submit file that has something like this in it:
environment = MY_CONDOR_JOB_ID=$(Cluster)
I just tried this myself and was surprised to see that the environment variables requested in my submit file were not present in the interactive shell session (though they were present for a non-interactive job). And HTCondor doesnât set the job id in any special environment variables for the job. We will investigate, as this looks like a bug.