diff --git a/src/main/java/com/lbs/tedam/ui/view/jobmanager/TedamManagerPresenter.java b/src/main/java/com/lbs/tedam/ui/view/jobmanager/TedamManagerPresenter.java index e299bb2..791664d 100644 --- a/src/main/java/com/lbs/tedam/ui/view/jobmanager/TedamManagerPresenter.java +++ b/src/main/java/com/lbs/tedam/ui/view/jobmanager/TedamManagerPresenter.java @@ -218,6 +218,7 @@ private void doStartJobGroupButtonClickOperations(JobGroup jobGroup) throws Loca for (Job job : jobGroup.getJobs()) { jobService.checkJobBeforeRun(job); } + jobGroupService.checkForRunningJobGroups(jobGroup, getUserActiveProject()); for (Job job : jobGroup.getJobs()) { jobService.saveJobAndJobDetailsStatus(job, JobStatus.QUEUED, CommandStatus.NOT_STARTED, SecurityUtils.getCurrentUser(userService).getTedamUser()); diff --git a/src/main/resources/localization/localizedException_en_US.properties b/src/main/resources/localization/localizedException_en_US.properties index a03243b..8805b67 100644 --- a/src/main/resources/localization/localizedException_en_US.properties +++ b/src/main/resources/localization/localizedException_en_US.properties @@ -9,4 +9,5 @@ localized.exception.emptyJobDetail=At least one test set should be selected ! localized.exception.jobdetailtestsetnotselected=Test set unselected record ! Id: localized.exception.emptytestcase=There is unselected test case record. ! Test set Id: localized.exception.emptyteststep=There is unselected test step record. ! Test case Id: -localized.exception.emptyteststepparameter=Job's test steps include empty parameter value. ! Test step Id: \ No newline at end of file +localized.exception.emptyteststepparameter=Job's test steps include empty parameter value. ! Test step Id: +localized.exception.jobgroupcontainsrunningjob=Running job group contains same job. Job Group Id, Job Id: \ No newline at end of file diff --git a/src/main/resources/localization/localizedException_tr_TR.properties b/src/main/resources/localization/localizedException_tr_TR.properties index da93268..e012b87 100644 --- a/src/main/resources/localization/localizedException_tr_TR.properties +++ b/src/main/resources/localization/localizedException_tr_TR.properties @@ -9,4 +9,5 @@ localized.exception.emptyJobDetail=En az bir tane test set se localized.exception.jobdetailtestsetnotselected=Test set seçilmemi\u015F kay\u0131t mevcut! Id: localized.exception.emptytestcase=Test senaryosu seçilmemi\u015F kay\u0131t mevcut! Test set Id: localized.exception.emptyteststep=Test ad\u0131m\u0131 seçilmemi\u015F kay\u0131t mevcut! Test senaryo Id: -localized.exception.emptyteststepparameter=Parametre de\u011Feri bo\u015F olan kay\u0131t mevcut! Test ad\u0131m\u0131 Id: \ No newline at end of file +localized.exception.emptyteststepparameter=Parametre de\u011Feri bo\u015F olan kay\u0131t mevcut! Test ad\u0131m\u0131 Id: +localized.exception.jobgroupcontainsrunningjob=Çal\u0131\u015Fan i\u015F grubu ayn\u0131 i\u015Fi içermektedir! \u0130\u015F Grup Id, \u0130\u015F Id: \ No newline at end of file