From bdfcfed52df46eb13b51e5fcd3f255c9d38b2ebf Mon Sep 17 00:00:00 2001 From: geekchow Date: Mon, 26 Oct 2020 11:04:40 +0800 Subject: [PATCH] Don't need to notify job since nothing changed. --- .../groovy/javaposse/jobdsl/plugin/JenkinsJobManagement.java | 1 - 1 file changed, 1 deletion(-) diff --git a/job-dsl-plugin/src/main/groovy/javaposse/jobdsl/plugin/JenkinsJobManagement.java b/job-dsl-plugin/src/main/groovy/javaposse/jobdsl/plugin/JenkinsJobManagement.java index 64b93431f..b7c00df72 100644 --- a/job-dsl-plugin/src/main/groovy/javaposse/jobdsl/plugin/JenkinsJobManagement.java +++ b/job-dsl-plugin/src/main/groovy/javaposse/jobdsl/plugin/JenkinsJobManagement.java @@ -455,7 +455,6 @@ private boolean updateExistingItem(AbstractItem item, javaposse.jobdsl.dsl.Item diff = XMLUnit.compareXML(oldJob, config); if (diff.identical()) { LOGGER.log(Level.FINE, format("Item %s is identical", item.getName())); - notifyItemUpdated(item, dslItem); return false; } } catch (Exception e) {