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

Problems with Validating String Parameter Plugin

XMLWordPrintable

      I'm using the following validation string on the code but doesn't work?

      validatingString(name: 'Test', description: 'Choose the name of your fileset that you want to create', regex: '^[^,.]$', failedValidationMessage: 'Please use integers without , or .')

      After that I run my pipeline and get the following error >>>>
      WorkflowScript: 26: Invalid parameter type "validatingString". Valid parameter types: [booleanParam, choice, credentials, file, gitParameter, text, password, run, string, email] @ line 26, column 9.
      validatingString(name: 'FILESET', description: 'Choose the name of your fileset that you want to create', regex: '^[^,.]*$', failedValidationMessage: 'Please use integers without , or .')

      1 error
      Can someone take a look on this one??

            raihaan Raihaan Shouhell
            stchaves Steven Chaves
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: