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

Post-send script setting disappears when saving job configuration

    Details

    • Type: Bug
    • Status: Resolved (View Workflow)
    • Priority: Minor
    • Resolution: Fixed
    • Component/s: email-ext-plugin
    • Labels:
      None
    • Environment:
      Jenkins 1.642.2 and email-ext 2.41.3
    • Similar Issues:

      Description

      As reported by kramarz in pull request jenkinsci/email-ext-plugin#109:

      The post-send script setting, introduced in JENKINS-30854, disappears when saving job configuration.

      A workaround is to directly edit the config.xml job configuration file and include the following line after the <presendScript/> line:

            <postsendScript>$DEFAULT_POSTSEND_SCRIPT</postsendScript>
      

      Afterwards select "Reload Configuration from Disk" from "Manage Jenkins".

        Attachments

          Activity

          jmuc Johannes W created issue -
          jmuc Johannes W made changes -
          Field Original Value New Value
          Assignee Alex Earl [ slide_o_mix ] Johannes Weißl [ jmuc ]
          jmuc Johannes W made changes -
          Assignee Johannes Weißl [ jmuc ] Alex Earl [ slide_o_mix ]
          slide_o_mix Alex Earl made changes -
          Status Open [ 1 ] Resolved [ 5 ]
          Resolution Fixed [ 1 ]
          rtyler R. Tyler Croy made changes -
          Workflow JNJira [ 169085 ] JNJira + In-Review [ 198533 ]

            People

            • Assignee:
              slide_o_mix Alex Earl
              Reporter:
              jmuc Johannes W
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: