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

Prevent build from starting if parameter value does not meet regular expressions

    Details

    • Similar Issues:

      Description

      Current validation parameter plugin functionality does not actually prevent build from running if the value passed in does not meet regular expression criteria.

        Attachments

          Activity

          Hide
          scm_issue_link SCM/JIRA link daemon added a comment -

          Code changed in hudson
          User: : petehayes
          Path:
          trunk/hudson/plugins/validating-string-parameter/pom.xml
          trunk/hudson/plugins/validating-string-parameter/src/main/java/hudson/plugins/validating_string_parameter/ValidatingStringParameterDefinition.java
          trunk/hudson/plugins/validating-string-parameter/src/main/java/hudson/plugins/validating_string_parameter/ValidatingStringParameterValue.java
          trunk/hudson/plugins/validating-string-parameter/src/main/resources/hudson/plugins/validating_string_parameter/ValidatingStringParameterValue/value.jelly
          http://jenkins-ci.org/commit/29720
          Log:
          JENKINS-6158 Build will fail if invalid parameter is passed
          JENKINS-6160 Hudson will record regex used to validate the build parameter as part of build configuration and display as tooltip on the parameter page.

          Show
          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in hudson User: : petehayes Path: trunk/hudson/plugins/validating-string-parameter/pom.xml trunk/hudson/plugins/validating-string-parameter/src/main/java/hudson/plugins/validating_string_parameter/ValidatingStringParameterDefinition.java trunk/hudson/plugins/validating-string-parameter/src/main/java/hudson/plugins/validating_string_parameter/ValidatingStringParameterValue.java trunk/hudson/plugins/validating-string-parameter/src/main/resources/hudson/plugins/validating_string_parameter/ValidatingStringParameterValue/value.jelly http://jenkins-ci.org/commit/29720 Log: JENKINS-6158 Build will fail if invalid parameter is passed JENKINS-6160 Hudson will record regex used to validate the build parameter as part of build configuration and display as tooltip on the parameter page.
          Hide
          petehayes Peter Hayes added a comment -

          Released in 1.3

          Show
          petehayes Peter Hayes added a comment - Released in 1.3

            People

            • Assignee:
              petehayes Peter Hayes
              Reporter:
              petehayes Peter Hayes
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: