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

"Editable Email Notification" does not resolve $MVN_RELEASE_VERSION

      We have configured

       <defaultSubject>A: Request Deployment in SBM: $MVN_RELEASE_VERSION ($DEFAULT_SUBJECT)</defaultSubject>
      

      and before Jenkins 1.651.3 that resolved to the version number we specified in "Release" but now it just shows:

      A: Request Deployment in SBM: $MVN_RELEASE_VERSION (buyos-2016.6 - Build # 18 - Fixed!)
      

      This probably is caused by SECURITY-170

          [JENKINS-36342] "Editable Email Notification" does not resolve $MVN_RELEASE_VERSION

          Stefan Cordes created issue -
          Stefan Cordes made changes -
          Summary Original: "Delete Editable Email Notification" does not resolve $MVN_RELEASE_VERSION New: "Editable Email Notification" does not resolve $MVN_RELEASE_VERSION

          Stefan Cordes added a comment -

          Workaround should be

          add `-Dhudson.model.ParametersAction.safeParameters=MVN_RELEASE_VERSION,MVN_DEV_VERSION,MVN_ISDRYRUN` to the variable `JENKINS_JAVA_OPTIONS` in config file /etc/sysconfig/jenkins

          (see https://groups.google.com/forum/#!topic/jenkinsci-users/O2ccSWhKhpY )

          Stefan Cordes added a comment - Workaround should be add `-Dhudson.model.ParametersAction.safeParameters=MVN_RELEASE_VERSION,MVN_DEV_VERSION,MVN_ISDRYRUN` to the variable `JENKINS_JAVA_OPTIONS` in config file /etc/sysconfig/jenkins (see https://groups.google.com/forum/#!topic/jenkinsci-users/O2ccSWhKhpY )

          I haven't looked at the security issue in detail but kinda sounds like the problem is on the sending end ie the m2 release plugin needs to whitelist it

          David van Laatum added a comment - I haven't looked at the security issue in detail but kinda sounds like the problem is on the sending end ie the m2 release plugin needs to whitelist it
          David van Laatum made changes -
          Component/s New: m2release-plugin [ 15621 ]
          David van Laatum made changes -
          Component/s Original: email-ext-plugin [ 15538 ]
          David van Laatum made changes -
          Assignee Original: David van Laatum [ davidvanlaatum ] New: James Nord [ teilo ]
          David van Laatum made changes -
          Component/s New: email-ext-plugin [ 15538 ]
          James Nord made changes -
          Link New: This issue duplicates JENKINS-35261 [ JENKINS-35261 ]
          James Nord made changes -
          Resolution New: Duplicate [ 3 ]
          Status Original: Open [ 1 ] New: Closed [ 6 ]

            Unassigned Unassigned
            sc_rsc Stefan Cordes
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: