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

Record and show regular expression used to validate parameter for a particular build

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed (View Workflow)
    • Priority: Trivial
    • Resolution: Fixed
    • Component/s: other
    • Labels:
      None
    • Similar Issues:

      Description

      When reviewing the applied parameters for a build, it would be better if Hudson recorded the regular expression used to validate the parameter value for that particular build as a form of audit control.

        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: