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

"Editable Email Notification" does not resolve $MVN_RELEASE_VERSION

    Details

    • Similar Issues:

      Description

      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

        Attachments

          Issue Links

            Activity

            Hide
            sc_rsc 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 )

            Show
            sc_rsc 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 )
            Hide
            davidvanlaatum 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

            Show
            davidvanlaatum 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
            Hide
            sc_rsc Stefan Cordes added a comment -

            Duplicate is ok.

            Hopefully DEFAULT_RELEASE_VERSION_ENVVAR
            is added to safeParams as well in JENKINS-35261
            ( https://github.com/jenkinsci/m2release-plugin/pull/29/commits/9ae40671030ac7ffa495cea1208ff62be71a4bd9 )

            Show
            sc_rsc Stefan Cordes added a comment - Duplicate is ok. Hopefully DEFAULT_RELEASE_VERSION_ENVVAR is added to safeParams as well in JENKINS-35261 ( https://github.com/jenkinsci/m2release-plugin/pull/29/commits/9ae40671030ac7ffa495cea1208ff62be71a4bd9 )

              People

              • Assignee:
                teilo James Nord
                Reporter:
                sc_rsc Stefan Cordes
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: