• Icon: Story Story
    • Resolution: Cannot Reproduce
    • Icon: Minor Minor
    • email-ext-plugin
    • None

      I have made a simple sample post buld action in my Jenkinsfile for sending a relevant e-mail message for the status of the build although this is not being sent. 

      post {        
         always {            
            emailext body: 'A Test EMail', recipientProviders: [[$class: 'DevelopersRecipientProvider'], [$class: 'RequesterRecipientProvider']], subject: 'Test'        
         }    
      }
      

      In the console ouptut, I observe that the only thing that has been logged is the "sending email to: <<email address>>"

       

      Configuration with SMTP is completed as email message is being sent by putting the same post build action manually from UI.

       

          [JENKINS-66117] e-mail notification issue through Jenkinsfile

          Angelos created issue -
          Angelos made changes -
          Description Original: I have made a simple sample post buld action in my Jenkinsfile for sending a relevant e-mail message for the status of the build although this is not being sent. 
          {code:java}
          post {        
             always {            
          emailext body: 'A Test EMail', recipientProviders: [[$class: 'DevelopersRecipientProvider'], [$class: 'RequesterRecipientProvider']], subject: 'Test'        
                    }    
          }
          {code}
          In the console ouptut, I observe that the only thing that has been logged is the "sending email to: <<email address>>"

           

          Configuration with SMTP is completed as email message is being sent by putting the same post build action manually from UI.

           
          New: I have made a simple sample post buld action in my Jenkinsfile for sending a relevant e-mail message for the status of the build although this is not being sent. 
          {code:java}
          post {        
             always {            
                emailext body: 'A Test EMail', recipientProviders: [[$class: 'DevelopersRecipientProvider'], [$class: 'RequesterRecipientProvider']], subject: 'Test'        
             }    
          }
          {code}
          In the console ouptut, I observe that the only thing that has been logged is the "sending email to: <<email address>>"

           

          Configuration with SMTP is completed as email message is being sent by putting the same post build action manually from UI.

           
          Angelos made changes -
          Status Original: Open [ 1 ] New: In Progress [ 3 ]
          Angelos made changes -
          Status Original: In Progress [ 3 ] New: Open [ 1 ]
          Angelos made changes -
          Status Original: Open [ 1 ] New: In Progress [ 3 ]

          Alex Earl added a comment -

          Are you setting up Mailer or Email-ext in the global config? A log would be helpful, you can also turn on debug mode for Email-Ext

          Alex Earl added a comment - Are you setting up Mailer or Email-ext in the global config? A log would be helpful, you can also turn on debug mode for Email-Ext
          Alex Earl made changes -
          Resolution New: Cannot Reproduce [ 5 ]
          Status Original: In Progress [ 3 ] New: Closed [ 6 ]

            Unassigned Unassigned
            agelosnm Angelos
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: