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

Misleading log message when no e-mail is sent

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Fixed but Unreleased (View Workflow)
    • Priority: Trivial
    • Resolution: Fixed
    • Component/s: mailer-plugin
    • Labels:
      None
    • Environment:
      mailer 1.24, Jenkins 2.176.2
    • Similar Issues:

      Description

      Given the attached Groovy pipeline script (irrelevant parts removed), mailer plugin complais with the following error message: 
      No mail will be sent out, as 'XXX' does not have a result yet. Please make sure you set a proper result in case of pipeline/build scripts.
      It complains even though the build result is SUCCESS.

      It worked several days ago, before an update of Jenkins and certain plugins.+

       

      Is there anybody experiencing a similar issue? Maybe there is something wrong in my script, but it worked before, during months.

      If there is any workaround to avoid this, it will be welcome

       EDIT: When no e-mail has to be sent, a misleading message is printed in build log. I would not consider this a bug, but removing this message (or changing its text) would be an improvement

        Attachments

          Activity

          carlosgarcia Carlos Garcia created issue -
          carlosgarcia Carlos Garcia made changes -
          Field Original Value New Value
          Description Given the attached Groovy pipeline script (irrelevant parts removed), mailer plugin complais with the following error message: 
          No mail will be sent out, as 'V6_Interfaces » DK_AC_WIFI_1_2G » BUILD_DK_AC_WIFI_1_2G_DEV #1' does not have a result yet. Please make sure you set a proper result in case of pipeline/build scripts.
          It complains even though the build result is SUCCESS.

          It worked several days ago, before an update of Jenkins and certain plugins.+

           

          Is there anybody experiencing a similar issue? Maybe there is something wrong in my script, but it worked before, during months.

          If there is any workaround to avoid this, it will be welcome :)

           
          Given the attached Groovy pipeline script (irrelevant parts removed), mailer plugin complais with the following error message: 
           No mail will be sent out, as 'XXX' does not have a result yet. Please make sure you set a proper result in case of pipeline/build scripts.
           It complains even though the build result is SUCCESS.

          It worked several days ago, before an update of Jenkins and certain plugins.+

           

          Is there anybody experiencing a similar issue? Maybe there is something wrong in my script, but it worked before, during months.

          If there is any workaround to avoid this, it will be welcome :)

           
          carlosgarcia Carlos Garcia made changes -
          Description Given the attached Groovy pipeline script (irrelevant parts removed), mailer plugin complais with the following error message: 
           No mail will be sent out, as 'XXX' does not have a result yet. Please make sure you set a proper result in case of pipeline/build scripts.
           It complains even though the build result is SUCCESS.

          It worked several days ago, before an update of Jenkins and certain plugins.+

           

          Is there anybody experiencing a similar issue? Maybe there is something wrong in my script, but it worked before, during months.

          If there is any workaround to avoid this, it will be welcome :)

           
          Given the attached Groovy pipeline script (irrelevant parts removed), mailer plugin complais with the following error message: 
           No mail will be sent out, as 'XXX' does not have a result yet. Please make sure you set a proper result in case of pipeline/build scripts.
           It complains even though the build result is SUCCESS.

          It worked several days ago, before an update of Jenkins and certain plugins.+

           

          Is there anybody experiencing a similar issue? Maybe there is something wrong in my script, but it worked before, during months.

          If there is any workaround to avoid this, it will be welcome :)

           EDIT: When no e-mail has to be sent, a misleading message is printed in build log. I would not consider this a bug, but removing this message (or changing its text) would be an improvement :)
          Issue Type Bug [ 1 ] Improvement [ 4 ]
          Priority Major [ 3 ] Trivial [ 5 ]
          Summary Mailer refuses to send e-mail from post >> cleanup Misleading log message when no e-mail is sent
          alecharp Adrien Lecharpentier made changes -
          Resolution Fixed [ 1 ]
          Status Open [ 1 ] Fixed but Unreleased [ 10203 ]

            People

            Assignee:
            alecharp Adrien Lecharpentier
            Reporter:
            carlosgarcia Carlos Garcia
            Votes:
            6 Vote for this issue
            Watchers:
            12 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: