mirror of
				https://github.com/ARM-software/workload-automation.git
				synced 2025-11-04 09:02:12 +00:00 
			
		
		
		
	Added job_status property to ExecutionContext
This commit is contained in:
		@@ -123,6 +123,12 @@ class ExecutionContext(object):
 | 
			
		||||
        else:
 | 
			
		||||
            return None
 | 
			
		||||
 | 
			
		||||
    @property
 | 
			
		||||
    def job_status(self):
 | 
			
		||||
        if not self.current_job:
 | 
			
		||||
            return None
 | 
			
		||||
        return self.current_job.result.status
 | 
			
		||||
 | 
			
		||||
    @property
 | 
			
		||||
    def workload(self):
 | 
			
		||||
        return getattr(self.spec, 'workload', None)
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user