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

Parameterized Remote Trigger Plugin does not support multi line parameters anymore

      in version 3.1.6.1 the multiline parameters does not work anymore like:

      parameters:  """
          PROJECT_NAME=${projectName}
          RELEASE_NAME=${releaseName}
          STORAGE_LOCATION=${lastBuild}
          DASHBOARD_LOCATION=${lastBuild}\\..
      RegressionTest""",

       

      Unfortionatly there is no documentation on this and after looking into the code it seems that it needs to be programmed like:

      parameters: [
                    "PROJECT_NAME"       : "${projectName}",
                    "RELEASE_NAME"       : "${releaseName}",
                    "STORAGE_LOCATION"   : "${lastBuild}",
                    "DASHBOARD_LOCATION" : "${lastBuild}\\..
      RegressionTest"
                  ],

       

      Please document these kind of changes !!

          [JENKINS-68898] Parameterized Remote Trigger Plugin does not support multi line parameters anymore

          PR welcome.

          KaiHsiang Chang added a comment - PR welcome.

          Seems to be the same issue as https://issues.jenkins.io/browse/JENKINS-68773.

          Like noted there, this issue is a blocker because you're forced to update all Jenkinsfiles of all projects and branches when upgrading the plugin!

          Christoph Amshoff added a comment - Seems to be the same issue as https://issues.jenkins.io/browse/JENKINS-68773 . Like noted there, this issue is a blocker  because you're forced to  update all Jenkinsfiles of all projects and branches when upgrading the plugin!

            cashlalala KaiHsiang Chang
            rene_kempen Rene Kempen
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: