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

Inheritance not working with Parameters

    Details

    • Similar Issues:

      Description

      After upgrading from 1.625.3 the parameters defined in the abstract project no longer works.

      Steps to reproduce:-

      1.  Create an inheritance project. Set a inheritable parameter with name "parameter1" and value "if you see this then it is working"
      2. Add an execute shell and write "echo ${parameter1}"
      3. Mark the project as "is abstract project"
      4. Save the project with name "BASE-execution"
      5. Create another inheritance project and name it "Main-Project" . Set parent project as "BASE-execution".
      6. Save the project and execute "Main-Project" . Check the console output. blank echo will be displayed.

        Attachments

          Activity

          Hide
          r0ll1ngst0ne Michael Kostukov added a comment - - edited

          I can confirm that at version 2.0 the plugin is mostly broken. In addition to reproduction steps above, the parent job does not even need to be abstract - leaving the checkmark off results in the same incorrect output.

          Show
          r0ll1ngst0ne Michael Kostukov added a comment - - edited I can confirm that at version 2.0 the plugin is mostly broken. In addition to reproduction steps above, the parent job does not even need to be abstract - leaving the checkmark off results in the same incorrect output.
          Hide
          zangdaarr Zangdaarr Mortpartout added a comment -

          I of course have the same issue. Is there any way to get the 1.625.3 version instead of 2.0 ?

          Show
          zangdaarr Zangdaarr Mortpartout added a comment - I of course have the same issue. Is there any way to get the 1.625.3 version instead of 2.0 ?

            People

            • Assignee:
              Unassigned
              Reporter:
              depinder Depinder Bharti
            • Votes:
              1 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated: