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

Add configuration parameter, which defines, when filter must started work

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      Add to "Active Choices Parameter" and "Active Choices Reactive Parameter" new configuration parameter. This parameters defines, when filter must start work.

      Eg, When you sets "4", filter work, when filter pattern length equals 0 or greater than or equal 4.

      Why?
      In my work I create jenkins job, which has a one Active Choices Parameter (eg. name PARAM_A) and few Active Choices Reactive Parameter (name PARAM_B, PARAM_C, PARAM_D...) depends on PARAM_A.
      Script in PARAM_B, _C, _D doing something for a few seconds (2-3s).
      When the filter is working (PARAM_A) when you type 1 or 2, 3 characters, it is not very effective, with such a configuration parameter.

        Attachments

          Activity

          Hide
          scm_issue_link SCM/JIRA link daemon added a comment -

          Code changed in jenkins
          User: klimas7
          Path:
          src/main/java/org/biouno/unochoice/CascadeChoiceParameter.java
          src/main/java/org/biouno/unochoice/ChoiceParameter.java
          src/main/resources/org/biouno/unochoice/CascadeChoiceParameter/config.jelly
          src/main/resources/org/biouno/unochoice/CascadeChoiceParameter/index.jelly
          src/main/resources/org/biouno/unochoice/ChoiceParameter/config.jelly
          src/main/resources/org/biouno/unochoice/ChoiceParameter/index.jelly
          src/main/resources/org/biouno/unochoice/stapler/unochoice/unochoice.js
          src/main/webapp/help-filterLengthParameters.html
          src/test/java/org/biouno/unochoice/TestAbstractUnoChoiceParameter.java
          src/test/java/org/biouno/unochoice/TestCascadeChoiceParameter.java
          src/test/java/org/biouno/unochoice/TestChoiceParameter.java
          src/test/java/org/biouno/unochoice/TestParametersOrder.java
          src/test/java/org/biouno/unochoice/TestPersistingParameters.java
          src/test/java/org/biouno/unochoice/issue34818/TestGlobalNodePropertiesScript.java
          src/test/js/unochoiceTest.js
          http://jenkins-ci.org/commit/active-choices-plugin/24113d54c3cd977d68b4ca0eabfe0d17e465f970
          Log:
          JENKINS-31625 Add configuration parameter, which defines, when filter must started work

          Show
          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: klimas7 Path: src/main/java/org/biouno/unochoice/CascadeChoiceParameter.java src/main/java/org/biouno/unochoice/ChoiceParameter.java src/main/resources/org/biouno/unochoice/CascadeChoiceParameter/config.jelly src/main/resources/org/biouno/unochoice/CascadeChoiceParameter/index.jelly src/main/resources/org/biouno/unochoice/ChoiceParameter/config.jelly src/main/resources/org/biouno/unochoice/ChoiceParameter/index.jelly src/main/resources/org/biouno/unochoice/stapler/unochoice/unochoice.js src/main/webapp/help-filterLengthParameters.html src/test/java/org/biouno/unochoice/TestAbstractUnoChoiceParameter.java src/test/java/org/biouno/unochoice/TestCascadeChoiceParameter.java src/test/java/org/biouno/unochoice/TestChoiceParameter.java src/test/java/org/biouno/unochoice/TestParametersOrder.java src/test/java/org/biouno/unochoice/TestPersistingParameters.java src/test/java/org/biouno/unochoice/issue34818/TestGlobalNodePropertiesScript.java src/test/js/unochoiceTest.js http://jenkins-ci.org/commit/active-choices-plugin/24113d54c3cd977d68b4ca0eabfe0d17e465f970 Log: JENKINS-31625 Add configuration parameter, which defines, when filter must started work
          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/main/java/org/biouno/unochoice/CascadeChoiceParameter.java
          src/main/java/org/biouno/unochoice/ChoiceParameter.java
          src/main/resources/org/biouno/unochoice/CascadeChoiceParameter/config.jelly
          src/main/resources/org/biouno/unochoice/ChoiceParameter/config.jelly
          src/main/resources/org/biouno/unochoice/stapler/unochoice/unochoice.js
          src/main/webapp/help-filterLengthParameters.html
          src/test/js/unochoiceTest.js
          http://jenkins-ci.org/commit/active-choices-plugin/e31a02d2f4f465604bc7317e7b970b1e5378ce52
          Log:
          JENKINS-31625 small adjustments to the new code to follow a few conventions

          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/main/java/org/biouno/unochoice/CascadeChoiceParameter.java src/main/java/org/biouno/unochoice/ChoiceParameter.java src/main/resources/org/biouno/unochoice/CascadeChoiceParameter/config.jelly src/main/resources/org/biouno/unochoice/ChoiceParameter/config.jelly src/main/resources/org/biouno/unochoice/stapler/unochoice/unochoice.js src/main/webapp/help-filterLengthParameters.html src/test/js/unochoiceTest.js http://jenkins-ci.org/commit/active-choices-plugin/e31a02d2f4f465604bc7317e7b970b1e5378ce52 Log: JENKINS-31625 small adjustments to the new code to follow a few conventions
          Hide
          scm_issue_link SCM/JIRA link daemon added a comment -

          Code changed in jenkins
          User: klimas7
          Path:
          src/test/java/org/biouno/unochoice/TestParametersOrder.java
          http://jenkins-ci.org/commit/active-choices-plugin/5a6528ad621bae37ef02c1471ab1a985fc785fb9
          Log:
          JENKINS-31625 fix test

          This closes #13

          Show
          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: klimas7 Path: src/test/java/org/biouno/unochoice/TestParametersOrder.java http://jenkins-ci.org/commit/active-choices-plugin/5a6528ad621bae37ef02c1471ab1a985fc785fb9 Log: JENKINS-31625 fix test This closes #13
          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/CascadeChoiceParameter.java
          src/main/java/org/biouno/unochoice/ChoiceParameter.java
          src/main/resources/org/biouno/unochoice/CascadeChoiceParameter/config.jelly
          src/main/resources/org/biouno/unochoice/ChoiceParameter/config.jelly
          src/main/webapp/help-filterLengthParameters.html
          http://jenkins-ci.org/commit/active-choices-plugin/874cfcf3c18e08629fcba87a8f7c3b29bb444ad6
          Log:
          JENKINS-31625 update javadoc headers and jelly text

          Compare: https://github.com/jenkinsci/active-choices-plugin/compare/8a97011b547c...874cfcf3c18e

          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/CascadeChoiceParameter.java src/main/java/org/biouno/unochoice/ChoiceParameter.java src/main/resources/org/biouno/unochoice/CascadeChoiceParameter/config.jelly src/main/resources/org/biouno/unochoice/ChoiceParameter/config.jelly src/main/webapp/help-filterLengthParameters.html http://jenkins-ci.org/commit/active-choices-plugin/874cfcf3c18e08629fcba87a8f7c3b29bb444ad6 Log: JENKINS-31625 update javadoc headers and jelly text Compare: https://github.com/jenkinsci/active-choices-plugin/compare/8a97011b547c...874cfcf3c18e
          Hide
          kinow Bruno P. Kinoshita added a comment -

          Pull request merged.

          Show
          kinow Bruno P. Kinoshita added a comment - Pull request merged.

            People

            Assignee:
            kinow Bruno P. Kinoshita
            Reporter:
            klimas7 Boguslaw Klimas
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: