const JobStates = {
  active: {
    stateTypes: ['active'],
    displayName: 'Running'
  },
  failed: {
    stateTypes: ['completed', 'failure'],
    displayName: 'Failed'
  },
  success: {
    stateTypes: ['success'],
    displayName: 'Success'
  }
};

module.exports = JobStates;

const JobStates = {
  starting: {
    stateTypes: ['active'],
    displayName: 'Starting'
  },
  active: {
    stateTypes: ['active'],
    displayName: 'Running'
  },
  failed: {
    stateTypes: ['completed', 'failure'],
    displayName: 'Failed'
  },
  success: {
    stateTypes: ['success'],
    displayName: 'Success'
  }
};

module.exports = JobStates;

Add missing job run status
Add missing job run status
