-
Bug
-
Resolution: Fixed
-
Major
-
None
-
Linux
Jenkins 1.418
plugin 2.1
Ive realized that one of my previous mentioned problems with the plugin is that I used a regex that looks liks this \d+\.\d+\.\d+. Im using that regex to make sure that the person starting the build enters a proper version number, ie. 1.2.3
Steps to reproduce
- Create a new job with the following configuration
- Build is parameterized
- Add a string validation
- Name = VALUE
- Regex = \d+\.\d+\.\d+
- Error = Enter a three digit version number
- Save the configuration
- Start a new build
- Enter 1.2.3 into the VALUE text box
- Move away focus from text box
Expected outcome:
The Enter a three digit version number text disappears and no error is shown
Actual outcome:
The Enter a three digit version number text is shown as an error
If I use a .+ regex, then the error message disappears when I enter something into the textbox.