Skip to content

Commit

Permalink
feat: add batchSystem type in jobParameters
Browse files Browse the repository at this point in the history
  • Loading branch information
aldbr committed Nov 10, 2023
1 parent 5ef7638 commit 7a0cc48
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/DIRAC/WorkloadManagementSystem/Agent/JobAgent.py
Original file line number Diff line number Diff line change
Expand Up @@ -285,6 +285,10 @@ def execute(self):
if queue:
self.jobReport.setJobParameter(par_name="CEQueue", par_value=queue, sendFlag=False)

batchSystem = gConfig.getValue("/LocalSite/BatchSystem/Type", "")
if batchSystem:
self.jobReport.setJobParameter(par_name="BatchSystem", par_value=batchSystem, sendFlag=False)

self.log.debug(f"Before self._submitJob() ({self.ceName}CE)")
result = self._submitJob(
jobID=jobID,
Expand Down

0 comments on commit 7a0cc48

Please sign in to comment.