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

Add a variable with the parameter name

    Details

    • Similar Issues:

      Description

      At the moment, users are not able to reference the parameter name. We must allow them to either get a reference via groovy to the parameter, or to the parameter name.

        Attachments

          Activity

          Hide
          scm_issue_link SCM/JIRA link daemon added a comment -

          Code changed in jenkins
          User: Bruno P. Kinoshita
          Path:
          src/main/java/org/biouno/unochoice/AbstractScriptableParameter.java
          src/test/java/org/biouno/unochoice/issue48448/TestParameterObjectIsPresent.java
          src/test/java/org/biouno/unochoice/issue48448/package-info.java
          http://jenkins-ci.org/commit/active-choices-plugin/ef6f97c0a24afaeff82ec09e9bcf136cd699afad
          Log:
          [FIXED JENKINS-48448] Add parameter instance to script envVars

          Show
          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Bruno P. Kinoshita Path: src/main/java/org/biouno/unochoice/AbstractScriptableParameter.java src/test/java/org/biouno/unochoice/issue48448/TestParameterObjectIsPresent.java src/test/java/org/biouno/unochoice/issue48448/package-info.java http://jenkins-ci.org/commit/active-choices-plugin/ef6f97c0a24afaeff82ec09e9bcf136cd699afad Log: [FIXED JENKINS-48448] Add parameter instance to script envVars
          Hide
          kinow Bruno P. Kinoshita added a comment -

          Parameter instance is bound to jenkinsParameter variable now.

          Show
          kinow Bruno P. Kinoshita added a comment - Parameter instance is bound to jenkinsParameter variable now.
          Hide
          kinow Bruno P. Kinoshita added a comment -

          Attached hpi file with the latest code. Would be great if someone (Ioannis Moutsatsos ? ) could have a crack at it please and see if it works fine.

          Cheers

          Bruno

          Show
          kinow Bruno P. Kinoshita added a comment - Attached hpi file with the latest code. Would be great if someone ( Ioannis Moutsatsos ? ) could have a crack at it please and see if it works fine. Cheers Bruno
          Hide
          paveto Tomas Pavelka added a comment -

          Hi Bruno P. Kinoshita,

          i checked this .hpi in my Jenkins project and it works fine.

           

          Many thanks to you!

           

          Tomas

          Show
          paveto Tomas Pavelka added a comment - Hi Bruno P. Kinoshita , i checked this .hpi in my Jenkins project and it works fine.   Many thanks to you!   Tomas

            People

            • Assignee:
              kinow Bruno P. Kinoshita
              Reporter:
              kinow Bruno P. Kinoshita
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: