Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-27503

Do not compose the message when there are no recipients

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Minor Minor
    • mail-watcher-plugin
    • None

      I saw this recently, completely useless effort:

      "Executor #-1 for SLAVE : executing JOB #5" prio=10 tid=47480211556352 nid=15900
         java.lang.Thread.State: RUNNABLE
      	at java.lang.String$CaseInsensitiveComparator.compare(String.java:1211)
      	at java.lang.String.compareToIgnoreCase(String.java:1258)
      	at hudson.model.User$1.compare(User.java:405)
      	at hudson.model.User$1.compare(User.java:403)
      	at java.util.Arrays.mergeSort(Arrays.java:1293)
      	at java.util.Arrays.sort(Arrays.java:1210)
      	at java.util.Collections.sort(Collections.java:157)
      	at hudson.model.User.getAll(User.java:403)
      	at hudson.model.User$FullNameIdResolver.resolveCanonicalId(User.java:757)
      	at hudson.model.User.get(User.java:327)
      	at hudson.model.User.get(User.java:300)
      	at hudson.model.User.get(User.java:362)
      	at hudson.model.User.current(User.java:374)
      	at hudson.plugins.jobConfigHistory.PluginUtils.getHistoryDao(PluginUtils.java:71)
      	at hudson.plugins.jobConfigHistory.PluginUtils.getHistoryDao(PluginUtils.java:62)
      	at hudson.plugins.jobConfigHistory.JobConfigHistoryProjectAction.getHistoryDao(JobConfigHistoryProjectAction.java:330)
      	at hudson.plugins.jobConfigHistory.JobConfigHistoryProjectAction.getJobConfigs(JobConfigHistoryProjectAction.java:95)
      	at org.jenkinsci.plugins.mailwatcher.jobConfigHistory.ConfigHistory.storedConfigurations(ConfigHistory.java:70)
      	at org.jenkinsci.plugins.mailwatcher.jobConfigHistory.ConfigHistory.lastChangeDiffUrl(ConfigHistory.java:53)
      	at org.jenkinsci.plugins.mailwatcher.WatcherItemListener$Notification$Builder.send(WatcherItemListener.java:159)
      	at org.jenkinsci.plugins.mailwatcher.WatcherItemListener.onUpdated(WatcherItemListener.java:88)
      	at hudson.model.listeners.ItemListener.fireOnUpdated(ItemListener.java:142)
      	at hudson.model.AbstractProject.makeDisabled(AbstractProject.java:708)
      	at hudson.model.AbstractProject.performDelete(AbstractProject.java:370)
      	at hudson.model.AbstractItem.delete(AbstractItem.java:510)
      	- locked <0x47d8e6860> (a hudson.matrix.MatrixConfiguration)
      	at hudson.model.Job.delete(Job.java:618)
      	- locked <0x47d8e6860> (a hudson.matrix.MatrixConfiguration)
      	at hudson.matrix.LinkedLogRotator.perform(LinkedLogRotator.java:68)
      	at hudson.model.Job.logRotate(Job.java:437)
      	at hudson.matrix.MatrixProject.logRotate(MatrixProject.java:509)
      	at hudson.model.Run.execute(Run.java:1728)
      	at hudson.matrix.MatrixBuild.run(MatrixBuild.java:304)
      	at hudson.model.ResourceController.execute(ResourceController.java:88)
      	at hudson.model.Executor.run(Executor.java:246)
      	at hudson.model.OneOffExecutor.run(OneOffExecutor.java:66)
      

            olivergondza Oliver Gondža
            olivergondza Oliver Gondža
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: