jd.setCronExpression(jobModel.getCronExpression());
jd.setDependencies(jobModel.getDependencies());
jd.setDesc(jobModel.getDesc());
jd.setGroupId(jobModel.getGroupId());
jd.setId(jobModel.getId());
JobRunType type=null;
if(jobModel.getJobRunType().equals(JobModel.MapReduce)){
type=JobRunType.MapReduce;
}else if(jobModel.getJobRunType().equals(JobModel.SHELL)){
type=JobRunType.Shell;
}else if(jobModel.getJobRunType().equals(JobModel.HIVE)){