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

Tokens in subject fail to get expanded when 'Error: No workspace found' encountered

    • Icon: Bug Bug
    • Resolution: Incomplete
    • Icon: Major Major
    • email-ext-plugin
    • None
    • Jenkins LTS 1.596.3
      email-ext-plugin 2.40.2

      Tokens in subject fail to get expanded when 'Error: No workspace found' encountered. However, the same tokens in the content/body of the email are expanded properly.

      Attachments: job config.xml, consolelog with debug for email-ext-plugin enabled

          [JENKINS-28645] Tokens in subject fail to get expanded when 'Error: No workspace found' encountered

          Alex Earl added a comment -

          Does this happen every time?

          Alex Earl added a comment - Does this happen every time?

          Mark Manning added a comment -

          Yes, everytime. 100% repeatable.

          Mark Manning added a comment - Yes, everytime. 100% repeatable.

          Alex Earl added a comment - - edited

          The interesting thing is that the error in the log is actually occurring in the code AFTER the subject has already been set. What type of job is this? FreeStyle? Also, I don't know if it would affect anything (it shouldn't) but why do you have the Mailer plugin enabled for the job as well?

          Can you also list plugins you have installed (and enabled) and versions?

          Alex Earl added a comment - - edited The interesting thing is that the error in the log is actually occurring in the code AFTER the subject has already been set. What type of job is this? FreeStyle? Also, I don't know if it would affect anything (it shouldn't) but why do you have the Mailer plugin enabled for the job as well? Can you also list plugins you have installed (and enabled) and versions?

          Alex Earl added a comment - - edited

          Can you try replacing

          ${DEFAULT_SUBJECT} with $DEFAULT_SUBJECT
          

          Alex Earl added a comment - - edited Can you try replacing ${DEFAULT_SUBJECT} with $DEFAULT_SUBJECT

          Alex Earl added a comment -

          Any updates on this?

          Alex Earl added a comment - Any updates on this?

          Alex Earl added a comment -

          Need more information in order to debug.

          Alex Earl added a comment - Need more information in order to debug.

            slide_o_mix Alex Earl
            markjmanning Mark Manning
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: