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

Post-send script setting disappears when saving job configuration

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • email-ext-plugin
    • None
    • Jenkins 1.642.2 and email-ext 2.41.3

      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".

          [JENKINS-33205] Post-send script setting disappears when saving job configuration

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

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

              Created:
              Updated:
              Resolved: