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

Add optional parameter to specify the number of items the list will display

    Details

    • Similar Issues:

      Description

      The plugin currently defaults to a hard coded value of displaying 5 rows.  For repositories with a large number of branches it becomes cumbersome to scroll through to select the target item.

      The proposed change adds an optional argument allowing the list size to be defined within the pipeline script.  Since the existing value is 5, the optional parameter defaults to a value of 5.

        Attachments

          Activity

          Hide
          scm_issue_link SCM/JIRA link daemon added a comment -

          Code changed in jenkins
          User: Boguslaw Klimas
          Path:
          src/main/java/net/uaznia/lukanus/hudson/plugins/gitparameter/GitParameterDefinition.java
          src/main/resources/net/uaznia/lukanus/hudson/plugins/gitparameter/GitParameterDefinition/config.jelly
          src/main/resources/net/uaznia/lukanus/hudson/plugins/gitparameter/GitParameterDefinition/config.properties
          src/main/resources/net/uaznia/lukanus/hudson/plugins/gitparameter/GitParameterDefinition/config_pl.properties
          src/main/resources/net/uaznia/lukanus/hudson/plugins/gitparameter/GitParameterDefinition/help-listSize.html
          src/main/resources/net/uaznia/lukanus/hudson/plugins/gitparameter/GitParameterDefinition/help-listSize_fr.html
          src/main/resources/net/uaznia/lukanus/hudson/plugins/gitparameter/GitParameterDefinition/help-listSize_pl.html
          src/main/resources/net/uaznia/lukanus/hudson/plugins/gitparameter/GitParameterDefinition/index.jelly
          http://jenkins-ci.org/commit/git-parameter-plugin/65266404f0772bee46b871e62d379625a4b36848
          Log:
          Merge pull request #59 from ntwerdochlib/JENKINS-49727-optional-list-size

          Add optional parameter to specify the number of items the list will display

          Compare: https://github.com/jenkinsci/git-parameter-plugin/compare/a91745006055...65266404f077

          Show
          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Boguslaw Klimas Path: src/main/java/net/uaznia/lukanus/hudson/plugins/gitparameter/GitParameterDefinition.java src/main/resources/net/uaznia/lukanus/hudson/plugins/gitparameter/GitParameterDefinition/config.jelly src/main/resources/net/uaznia/lukanus/hudson/plugins/gitparameter/GitParameterDefinition/config.properties src/main/resources/net/uaznia/lukanus/hudson/plugins/gitparameter/GitParameterDefinition/config_pl.properties src/main/resources/net/uaznia/lukanus/hudson/plugins/gitparameter/GitParameterDefinition/help-listSize.html src/main/resources/net/uaznia/lukanus/hudson/plugins/gitparameter/GitParameterDefinition/help-listSize_fr.html src/main/resources/net/uaznia/lukanus/hudson/plugins/gitparameter/GitParameterDefinition/help-listSize_pl.html src/main/resources/net/uaznia/lukanus/hudson/plugins/gitparameter/GitParameterDefinition/index.jelly http://jenkins-ci.org/commit/git-parameter-plugin/65266404f0772bee46b871e62d379625a4b36848 Log: Merge pull request #59 from ntwerdochlib/ JENKINS-49727 -optional-list-size Add optional parameter to specify the number of items the list will display Compare: https://github.com/jenkinsci/git-parameter-plugin/compare/a91745006055...65266404f077
          Hide
          klimas7 Boguslaw Klimas added a comment -

          Release 0.9.2

          Show
          klimas7 Boguslaw Klimas added a comment - Release 0.9.2

            People

            • Assignee:
              klimas7 Boguslaw Klimas
              Reporter:
              nikel Nik Twerdochlib
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: